| View previous topic :: View next topic |
| Author |
Message |
Renald Yazmir Guest
|
Posted: Thu Apr 12, 2007 9:06 pm Post subject: Using non Borland library in Borland |
|
|
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
|
Posted: Thu Apr 12, 2007 9:06 pm Post subject: Re: Using non Borland library in Borland |
|
|
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
|
Posted: Thu Apr 12, 2007 10:15 pm Post subject: Re: Using non Borland library in Borland |
|
|
"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 |
|
 |
|