I have a situation where a programmer has hardcoded paths to a Fortran DLL in a VB6 application. The programmer is willing to change the relevant code, but does not know how to make a DLL available except by hardcoded path, or the default WinntSystem32. I would really like to be able to place the DLL in the base directory of the application's executable. I've seen a number of references to the VB6 'search path' which tell me that VB6 will look in the app's base directory by default, however, my testing proves this not to be the case. Has anyone else dealt with this problem and found a solution?
For more complete information about compiler optimizations, see our Optimization Notice.