Re: Using LIB Files in Delphi
- From: "Chris.Cheney" <Chris.CheneyXXNOSPAMXX@xxxxxxxxx>
- Date: Mon, 23 Jul 2007 13:49:06 GMT
"Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx> wrote in news:46a477a2$0
$327$e4fe514c@xxxxxxxxxxxxxx:
<alanglloyd@xxxxxxx> wrote in message
news:1185183207.213499.233940@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[...]
How can I use the LIB file under Delphi. Is there a simple approach,
or maybe I have to get a C programmer to write a DLL which wraps the
LIB file.
That's probably the simplest. Lib files are Right Out in Delphi as far
as I know.
Groetjes,
Maarten Wiltink
Alan,
Linking with C-derived object modules/libraries is something that I have,
so far, managed to avoid having to do. However, it is something that I
believe is possible - but I may be wrong.
See Delphi (7 or 2006, probably others too) Project Options - there are
options to generate C/C++ object files.
The utility coff2omf supposedly will convert LIBs to OMF. I believe (but
again am not 100% certain) that the .OBJ files that Delphi is capable of
linking in using the $L/$LINK directive are OMF.
Google throws up a number of coff/omf hits particularly wrt linking with
Python.
I for one would be interested in hearing how you get on.
Regards
Chris
.
- Follow-Ups:
- Re: Using LIB Files in Delphi
- From: Rudy Velthuis
- Re: Using LIB Files in Delphi
- From: Chris.Cheney
- Re: Using LIB Files in Delphi
- References:
- Using LIB Files in Delphi
- From: alanglloyd@xxxxxxx
- Re: Using LIB Files in Delphi
- From: Maarten Wiltink
- Using LIB Files in Delphi
- Prev by Date: Re: Start program when Vista starts
- Next by Date: Re: Start program when Vista starts
- Previous by thread: Re: Using LIB Files in Delphi
- Next by thread: Re: Using LIB Files in Delphi
- Index(es):
Relevant Pages
|