Hello Everyone,
This is my first attempt at doing anything with C++.
I'm trying to create a C++ DLL using Visual C++ 2005 Express. The idea is to be able to call the functions in this DLL from an access application.
After trawling for days, I now have a DLL that compiles and seems to work fine on the PC where it was developed.
When I put my application on a different PC, I get a runtime error 48 when trying to load the DLL.
The error text is 'File not Found' when searching for my DLL, but my investigation has show that this is actually a DLL loading error. After adding debugging code, I find that the LoadLibrary error is 0.
I have tried rebuilding the DLL, rewriting it and receive the same error '48' every time whenever I try to run the DLL functions on other machines, despite everything being fine on the dev box.
Does anyone have any ideas?
Should I be shipping more than just the DLL to other machines?
Thanks in advance.
G
This is my first attempt at doing anything with C++.
I'm trying to create a C++ DLL using Visual C++ 2005 Express. The idea is to be able to call the functions in this DLL from an access application.
After trawling for days, I now have a DLL that compiles and seems to work fine on the PC where it was developed.
When I put my application on a different PC, I get a runtime error 48 when trying to load the DLL.
The error text is 'File not Found' when searching for my DLL, but my investigation has show that this is actually a DLL loading error. After adding debugging code, I find that the LoadLibrary error is 0.
I have tried rebuilding the DLL, rewriting it and receive the same error '48' every time whenever I try to run the DLL functions on other machines, despite everything being fine on the dev box.
Does anyone have any ideas?
Should I be shipping more than just the DLL to other machines?
Thanks in advance.
G