BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Using non Borland library in Borland

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Renald Yazmir
Guest





PostPosted: Thu Apr 12, 2007 9:06 pm    Post subject: Using non Borland library in Borland Reply with quote



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
Back to top
Bob Gonder
Guest





PostPosted: Thu Apr 12, 2007 9:06 pm    Post subject: Re: Using non Borland library in Borland Reply with quote



Renald Yazmir wrote:

Quote:
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)
Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Apr 12, 2007 10:15 pm    Post subject: Re: Using non Borland library in Borland Reply with quote



"Renald Yazmir" <renald (AT) partmaker (DOT) com> wrote in message
news:461e4af1$1 (AT) newsgroups (DOT) borland.com...

Quote:
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.