DLL not found !!!
-
I have a dll that I created in C++ and declare the function in a VB .exe and it works just fine. But when I give the folder to somebody else and have them run the .exe with the dll in the same folder I get a 'run-time error 53: Export.DLL not found'. Even if I hard code it and specify it with an absolute path I still get the same error. This dll doesn't have to be registered. Does anyone know what's going on? If it's broken, I probably did it bdiamond
-
I have a dll that I created in C++ and declare the function in a VB .exe and it works just fine. But when I give the folder to somebody else and have them run the .exe with the dll in the same folder I get a 'run-time error 53: Export.DLL not found'. Even if I hard code it and specify it with an absolute path I still get the same error. This dll doesn't have to be registered. Does anyone know what's going on? If it's broken, I probably did it bdiamond
Is your dll using any other dlls? Maybe they can not be loaded but final efect is that head dll error is reported. For example if you build dll in Debug and you are distributing it on computer without same developer tool. (there are only release version) It will not to work. that sometime happen
-
I have a dll that I created in C++ and declare the function in a VB .exe and it works just fine. But when I give the folder to somebody else and have them run the .exe with the dll in the same folder I get a 'run-time error 53: Export.DLL not found'. Even if I hard code it and specify it with an absolute path I still get the same error. This dll doesn't have to be registered. Does anyone know what's going on? If it's broken, I probably did it bdiamond
some years ago i’ve coded dlls for VB 6.0 and had the same trouble,I don’t know why an VB app needs full path to dll even if dll is in its folder. you can use some APIs like GetModuleFileName to get full path to your application then append dll name to it. I don’t know if there is some better way to solve it I’m not VB coder.
-
Is your dll using any other dlls? Maybe they can not be loaded but final efect is that head dll error is reported. For example if you build dll in Debug and you are distributing it on computer without same developer tool. (there are only release version) It will not to work. that sometime happen
I made the DLL with MFC statically linked, so it shouldn't be that. what about #include files? For instance, I'm using the MySQL.h header file and linking to its .lib file when compiling my DLL, but they are not included in the project. Should I do that? thanks for your help If it's broken, I probably did it bdiamond