I'm got a conundrum here. Here's my situation. I have:
a) a small and simple DLL that I wrote in Visual C++ .NET (linking to standard libs, no MFC or ATL)
b) a test program that I wrote in BlitzPlus
When I run the test program (with the DLL in the same folder), it works perfectly. The problem? If I then copy the exact same executable and DLL to a Win98 box, it fails with "User lib not found" as soon as the program tries to call one of the functions in my DLL. What gives?
Before I try fiddling with linker settings, pragma directives, and different C compilers, I thought I try here. Questions:
1) What does Blitz do when an external function is called. LoadLibrary? What else?
2) What would be the difference between the Win98 and WinXP environments that would cause it to work in one and not the other? Remember, the executables are identical.
If any more info is needed (declarations, def file, linker options, etc), I'll be glad to provide. Thanks for any input.
a) a small and simple DLL that I wrote in Visual C++ .NET (linking to standard libs, no MFC or ATL)
b) a test program that I wrote in BlitzPlus
When I run the test program (with the DLL in the same folder), it works perfectly. The problem? If I then copy the exact same executable and DLL to a Win98 box, it fails with "User lib not found" as soon as the program tries to call one of the functions in my DLL. What gives?
Before I try fiddling with linker settings, pragma directives, and different C compilers, I thought I try here. Questions:
1) What does Blitz do when an external function is called. LoadLibrary? What else?
2) What would be the difference between the Win98 and WinXP environments that would cause it to work in one and not the other? Remember, the executables are identical.
If any more info is needed (declarations, def file, linker options, etc), I'll be glad to provide. Thanks for any input.