Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Using .def file?
Re: Using .def file? [message #14261 is a reply to message #14257] |
Thu, 21 February 2008 10:16  |
masu
Messages: 378 Registered: February 2006
|
Senior Member |
|
|
Hi,
I think what you need is an import library to link your program against. This import library is created with the help of the .def file that specifies all DLL functions to export.
So the normal route to go is:
1. Write a .def file which contains DLL function names you want to export
2. Create an import library with dlltool -d somedll.def -l libsomedll.a
3. Tell the linker to link against this import library.
You can find a good doc concerning these issues in http://www.mingw.org/MinGWiki/index.php/CreateImportLibrarie s
Matthias
|
|
|
Goto Forum:
Current Time: Mon May 12 20:43:01 CEST 2025
Total time taken to generate the page: 0.00634 seconds
|