I tried to use __declspec(dllexport) to export functions in my DLL, but it doesn't work. When I run GetProcAddress in main app, it always shows "The specified module could not be found".
But if I export my functions by .def file. It works very well.
Can you help me to solve this problem. I want to use __declspec(dllexport) instead of the .def file.
Thank you very much. (I'm using Visual C++ 2005, MFC)