Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous message
masu is currently offline  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
 
Read Message
Read Message
Previous Topic: New install - can't find cc1plus
Next Topic: Problem Building Sample Applications
Goto Forum:
  


Current Time: Mon May 12 15:46:28 CEST 2025

Total time taken to generate the page: 0.00636 seconds