Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Pellaeon on December 07, 2005, 08:46:12 pm
-
Hello,
I have a DLL and my export functions use the __stdcall-Convention. I want to export my function names.
Because it's stdcall it doesn't work to do it with extern "C". So I think I need a def-file
How can I use the def-File? I created a new file with the ending "def" and I wrote the function names into the export-section.
But the compiler does not use my def-file. What must I do?
I use the Visual C++ Toolkit 2003 for compiling
-
Hi,
put
/DEF:"path_where_the_file_is/mydeffile.def"
at
Project->Build options->Linker->Other linker options
Frank
-
THX, works fine :D