Article View: borland.public.cppbuilder.migration
Article #6Re: Generate import lib to be used in MSVC++
From: Ed Mulroy
Date: Fri, 24 Jun 2005 16:48
Date: Fri, 24 Jun 2005 16:48
28 lines
2328 bytes
2328 bytes
You cannot generate an import library for MSVC++ with Borland tools. You must use Microsoft tools to do that. What you can do is to create a module definition file with Borland's tools and give that to them. They then add the module definition file to their build in a manner quite similar to how they would have added an import library. If they don't like that then they can use their tools to create an import library from either of the module definition file or from the DLL. impdef -a DllName.DEF DllName.DLL The '-a' option above says to alter any 'cdecl' style export names from their common form, the form specified for almost all compilers, Microsoft included, to the different form that Microsoft adopted much later. It might be useful to have a version created without the '-a' placed somewhere on your distribution disk for them to use in the case that their MSVC++ version is older. . Ed > Tarek wrote in message > news:42bc3021$1@newsgroups.borland.com... > Hi experts... > > I have developed a dll in BCB6. I need to release import > libraries for both BCB6 and MSVC++. Obviously, the import > library for BCB6 was created for me when I built the dll. How > can I generate the import library for MSVC++?
Technical Details
Message-ID:
<42bc3a2e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42bc3021$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 110f51,3eb483fcc5410889 X-Google-Attributes: gid110f51,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Ed Mulroy" <dont_email_me@bitbuc.ket> Newsgroups: borland.public.cppbuilder.migration References: <42bc3021$1@newsgroups.borland.com> Subject: Re: Generate import lib to be used in MSVC++ Date: Fri, 24 Jun 2005 12:48:24 -0400 Lines: 30 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 69.134.170.196 Message-ID: <42bc3a2e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1119631918 69.134.170.196 (24 Jun 2005 09:51:58 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail