🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vc.language
Article #3

Re: Using a Borland DLL with VC++

#3
From: Chuck Le Mieux
Date: Thu, 21 Jan 1999 00:00
32 lines
1906 bytes
The biggest problem you have is the word Borland.

--
URL: http://otool.server101.com/
Email: clemieux@att.net
In Memory: http://otool.server101.com/inmemory.htm


Rod Brick <rbrick@pswtech.com> wrote in message
news:36A79A02.30234FF6@pswtech.com...
>I'm trying to use a DLL created with BC5.02 in a VC++ project.  I've run
>the impdef command to create a def file.  Then I ran Microsoft's 'lib'
>proggy as  "lib \DEF:myfile.def \MACHINE:IX86"  This created a .lib
>file.  I'm getting a link error, "unresolved external symbol
>__declspec(dllimport) int __cdecl minus(int,int)....." which is the name
>of the function in the DLL I'm trying to use.
>
>I've tried adding the .lib file to my project with the same result.
>I've also put the .lib files path in the "Additional library path" field
>in the project settings.  And I've added the .lib file to the library
>modules field.
>
>I think I'm still missing something in the project settings, but I don't
>know what it is.  I don't know my way around VC that well.
>
>Any help is much appreciated.
>
>--
>Rod Brick
>PSW Technologies
>Austin, Texas
>http://www.psw.com
Technical Details
Message-ID: <788ajr$m0a@bgtnsc02.worldnet.att.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36A79A02.30234FF6@pswtech.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f50b,40b1400d087e1801
X-Google-Attributes: gid10f50b,public
X-Google-Thread: f7a51,40b1400d087e1801
X-Google-Attributes: gidf7a51,public
X-Google-Thread: 10c066,40b1400d087e1801
X-Google-Attributes: gid10c066,public
From: "Chuck Le Mieux" <clemieux@att.net>
Subject: Re: Using a Borland DLL with VC++
Date: 1999/01/21
Message-ID: <788ajr$m0a@bgtnsc02.worldnet.att.net>
X-Deja-AN: 435398154
References: <36A79A02.30234FF6@pswtech.com>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.0810.800
Organization: AT&T WorldNet Services
X-MSMail-Priority: Normal
Newsgroups: microsoft.public.vc.language,microsoft.public.vstudio.general,borland.public.cpp.commandlinetools