Dictate fuction name used in DLL

  • Thread starter Thread starter Minieggs1999
  • Start date Start date
M

Minieggs1999

Guest
I'm creating a simple DLL (you may have seen the other thread)

I'm using a header file that contains this


extern "C" __declspec(dllexport) BOOL BrowseForFolder(HWND hwnd, LPSTR title, LPSTR folder);

Which works but the actual function name in the compiled DLL seems to be dynamic and is currently called _BrowseForFolder@12

How do I dictate the exported DLL function will be called BrowseForFolder and not _BrowseForFolder@12

Thanks

Continue reading...
 
Back
Top