Check that:
- Compiling MyLibrary generates MyLibrary.lib and MyLibrary.dll
- Load Mylibrary.dll with depends.exe to see that your function has been successfully exported.
- Ensure that your makefile/.vcproj links to MyLibrary.lib
The last step is done by adding the following to the .pro file of DLL 2
Qt Code:
LIBS += -L<PathToLib> -lMyLibraryTo copy to clipboard, switch view to plain text mode
Bookmarks