Hi. I took a look but I don't understand that url. I've heard of .def
files before but I've never seen anything explaining how to actually
add one to your project.
If it helps, I'm already using __declspec(dllexport):
A def file is simply a text file with the contents:
LIBRARY BTREE EXPORTS x
(assumes your DLL will be called BTREE.dll). Once you have created this file, drag into your project. To tell the linker to use this file, go to Project Properties -> Linker -> Input -> Module Definition File, and type the name of the def file.
Exports
Ed Graham
If it helps, I'm already using __declspec(dllexport):
extern "C" __declspec(dllexport) int __stdcall x(HWND mwnd,HWND,char *data,char*,BOOL,BOOL)
{
MessageBox(mwnd,"test~!","test!",MB_OK);
strcpy(data,"hi");
return 3;
}
Ealdormere
Demid
Do a search on .DEF files and find out.
http://msdn2.microsoft.com/en-us/library/d91k01sh(VS.80).aspx.
Bryan Roth
A def file is simply a text file with the contents:
LIBRARY BTREE
EXPORTS
x
(assumes your DLL will be called BTREE.dll). Once you have created this file, drag into your project. To tell the linker to use this file, go to Project Properties -> Linker -> Input -> Module Definition File, and type the name of the def file.
Then rebuild