Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » how to link a .dll?
|
|
|
|
|
Re: how to link a .dll? [message #10367 is a reply to message #10366] |
Wed, 04 July 2007 12:22   |
Zardos
Messages: 62 Registered: April 2007
|
Member |
|
|
Quote: |
are you implying VC is required? I have not that either.
shouldn't U++ provide a way of using the dll it generates in other packages?
|
No its is not required.
Are you really sure no .lib has been created beside the .dll? The .lib and the .dll should be in the output directory.
I have no such problems...
Attached is a small project wich builds a "IdleTracker.lib" and a "IdleTracker.dll". May be you can use this as an example. The source is from "Sidney Chong". I just modified it for my needs and made the upp project.
- Ralf
Edit: It works with MSC71 and MSC8 but not with MINGW!
[Updated on: Wed, 04 July 2007 12:26] Report message to a moderator
|
|
|
Re: how to link a .dll? [message #10383 is a reply to message #10367] |
Thu, 05 July 2007 04:07  |
 |
bonami
Messages: 186 Registered: June 2007 Location: Beijing
|
Experienced Member |
|
|
OK. i downloaded impdef and now have .def. but MinGW doc says nothing more of how to use this .def.
i added a library option from U++'s package management, giving the full path of .dll. then bing! it links. and tested on other machine, complaining no .dll found.
but what puzzles me is that after i renamed my .dll, it still runs well on my machine.
if this is ok, i do not need any .def or anything.
[Updated on: Mon, 09 July 2007 12:01] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Fri May 09 09:03:32 CEST 2025
Total time taken to generate the page: 0.00510 seconds
|