Dll Not Found in IDE
Date: 12.31.10 - 4:35pm
If you are getting the error DLL not found when using a standard C Dll or maybe if a dependancy of the dll is not being found either in the IDE or at runtime, you can do a manual LoadLibrary() call and it will fix it.
This error can also be caused by the dll failing to load. You can test this by if LoadLibrary(explicitpath.dll) = 0. This happened to me tonight and cost me many many hours debugging. A popular version of zlib was failing to load on versions of windows prior to XPSP2 because it tried to import kernel32.DecodePointer. Ouch. VB6 IDE really sucks when it comes to loading declares