hi,
can you hellp me.
how to save may function in Dll file .
thenk you. :)
Printable View
hi,
can you hellp me.
how to save may function in Dll file .
thenk you. :)
create ur functions into a normal C/C++ file. you can then use a header file to get to them. or you can create a .def file and add this to it
then you can use the various GetProcAddress() and LoadLibrary() to get them :DCode:
LIBRARY "MYDLL.DLL"
Exports
FunctionName
Make sure you put __dllexport before your function calls
Jop: it's __declspec(dllexport) in VC++ and he doesn't need it if he uses a .def file.
true... I'm not fully awake :)
altough I didn't knew it wasn't needed if you use a .def file :) thanks for the info ;)