Article View: borland.public.cppbuilder.migration
Article #81Re: Linking MSVC++ Library - Cannot Find OBJ
From: Remy Lebeau (TeamB)
Date: Sun, 27 Feb 2005 22:52
Date: Sun, 27 Feb 2005 22:52
24 lines
2072 bytes
2072 bytes
"Thomas Scott" <tscott@magiqueproductions.com> wrote in message news:422206f7$1@newsgroups.borland.com... > I've converted a Microsoft .lib file from coff to omf using the coff2omf utility. If the library is a static library (contains actual executable code), rather than being a DLL link library, then you cannot use it at all. Static libraries are vendor-specific, and cannot be shared from one vendor to another. If you have the source code for the .lib, then you can try recompiling it with the compiler that you want to use the library in. Otherwise, you will have to wrap the .lib into a DLL created with the same compiler that compiled the .lib, and use the DLL instead. > For example, my library is called OmegaCore.lib and of course has a > corresponginh OmegaCore.dll. I assume, then, that the .lib is just a link library for the DLL? If so, then just run the DLL through Borland's IMPLIB command-line utility to create a new .lib file and ignore the original altogether. Gambit
Technical Details
Message-ID:
<42224f0e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<422206f7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,9f35d61d7fc66ca5 X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.migration References: <422206f7$1@newsgroups.borland.com> Subject: Re: Linking MSVC++ Library - Cannot Find OBJ Date: Sun, 27 Feb 2005 14:52:12 -0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42224f0e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109544718 68.69.17.41 (27 Feb 2005 14:51:58 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!feed5.newsreader.com!newsreader.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail