🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1663

Re: Borland C++ 3.1 DLL example - Import Librarian

#1663
From: Tom W. Brown
Date: Thu, 15 Oct 1992 00:23
26 lines
1867 bytes
In article <1992Oct14.093718.4464@apricot.co.uk>, marcusj@apricot.co.uk (Marcus Jenkins) writes:
|> I am having a certain amount of hassle building the DLL examples
|> supplied with Borland C++.  The projects build fine in the IDE
|> *except* the import library does not automatically get created 
|> by the DLL project, therefore the project that uses the DLL 
|> barfs during the link phase.  I have played with IMPLIB (with
|> reference to the manuals) and I haven't successfully managed
|> to create an import library for the DLL yet.  Any clues?
|> 

The DOS based IDE will create the .LIB file (double check the make options
in Options | Make, Generate Import Library).  However, the Windows hosted
IDE will not do this (brain-dead BCW !!!)

IMPLIB works for me as does IMPLIBW.  When you say that you haven't
successfully managed to create an import library do you mean the .LIB file
isn't even created, or it is but you get link errors when linking with it?
In the latter case, make sure that you are using case sensitive link *and*
case sensitive exports.


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
Technical Details
Message-ID: <637@lax.lax.pe-nelson.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
References: <1992Oct14.093718.4464@apricot.co.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!lax.pe-nelson.com!lax!twbrown
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Borland C++ 3.1 DLL example - Import Librarian
Message-ID: <637@lax.lax.pe-nelson.com>
Date: 15 Oct 92 00:23:44 GMT
References: <1992Oct14.093718.4464@apricot.co.uk>
Sender: news@lax.pe-nelson.com
Organization: PE-Nelson
Lines: 26