title: DLL Export __declspec(dllexport) doesn't work
body: <p>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".</p>
  
  <p>But if I export my functions by .def file. It works very well.</p>
  
  <p>Can you help me to solve this problem. I want to use __declspec(dllexport) instead of the .def file.</p>
  
  <p>Thank you very much.
  (I'm using Visual C++ 2005, MFC)</p>