Re: Using LIB Files in Delphi



Chris.Cheney wrote:

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.

It is very well possible (well, linking with .obj files, not with .lib
files - but you can extract the .objs from the .libs), if they are
written in OMF format (or are available in source code):

"Using C object files in Delphi"
http://rvelthuis.de/articles/articles-cobjs.html

But if they are written in COFF format, it is easier to generate a DLL
and use that.

--
Rudy Velthuis http://rvelthuis.de

"The perfect computer has been developed. You just feed in your
problems and they never come out again." -- Al Goodman.
.



Relevant Pages

  • Re: can my library link with a library
    ... The LIB utility can combine library as well ... Extracting the OBJ files isn't as convenient, ... > Can you explain how I would extract the OBJ files from all the ... >> dependent libraries and merge them into yours. ...
    (microsoft.public.vc.language)
  • Re: Using Lib Files with Delphi
    ... I can't make a .lib wrapper unless I write it in the same language (or ... or linked to the other .obj files (whichever ... Microsoft Macro Assembler Version 6.14.8444 ...
    (comp.lang.pascal.delphi.misc)
  • Re: Linking with static library
    ... are calling a LIB and a DLL> in it's own ... if you have the actual LIB and its in intel format ... Delphi can produce and use OBJ files ...
    (alt.comp.lang.borland-delphi)
  • RE: Similar command as "arlib" in WinCE5.0?
    ... The utility is called "lib". ... This posting is provided "AS IS" with no warranties, and confers no rights. ... >I want to group serveral .obj files into one .lib file. ...
    (microsoft.public.windowsce.platbuilder)