🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Renald Yazmir Thu, 12 Apr 2007 16:06
Using non Borland library in Borland
#2143
Author: Renald Yazmir
Date: Thu, 12 Apr 2007 16:06
10 lines
1168 bytes
Hello,

I have test.lib file made in Visual Studio C. Also I have a test.def file 
with all export function names.
I want to link to this library in Borland statically.
Should I use IMPLIB?
How?

Thanks
Rony
Re: Using non Borland library in Borland
#2145
Author: Bob Gonder
Date: Thu, 12 Apr 2007 15:57
13 lines
1282 bytes
Renald Yazmir wrote:

>I have test.lib file made in Visual Studio C.
>I want to link to this library in Borland statically.
>How?

Two ways:

1) Recompile the test.lib with Borland compiler.

2) Use VC to make it a DLL, then IMPLIB the DLL to create a stub.lib
that Borland can link. (You will need to distribute the DLL with your
application)
Re: Using non Borland library in Borland
#2146
Author: Remy Lebeau (TeamB)
Date: Thu, 12 Apr 2007 17:15
15 lines
1430 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message
news:461e4af1$1@newsgroups.borland.com...

> I have test.lib file made in Visual Studio C. Also I have a
> test.def file with all export function names.
> I want to link to this library in Borland statically.

.lib files are compiler-specific.  If the .lib file is an import lib
for a DLL, then run the DLL itself through IMPLIB to create a
Borland-compatible .lib file.  If the .lib file is a static library,
on the other hand, then you likely will not be able to use it at all.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads