 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mattk Guest
|
Posted: Tue Nov 22, 2005 6:41 pm Post subject: calling dll from MSVC |
|
|
I have written a dll (in BCB5) and I am able to call it just fine from a
host application (also written in BCB5).
Someone is trying to call it it from their Microsoft Visual C++ application.
They report when they try to use the lib file generated,
they get an error from the linker saying 'invalid or corrupt file'.
Any clues or magic potions that are needed?
Thanks much for any info/help on this .....
(If there is a better forum for this - let me know)
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Tue Nov 22, 2005 6:55 pm Post subject: Re: calling dll from MSVC |
|
|
"mattk >" <
| Quote: | Someone is trying to call it it from their Microsoft Visual
C++ application. They report when they try to use the lib
file generated, they get an error from the linker saying
'invalid or corrupt file'.
|
VC++ cannot use Borland .lib files, and vice versa. Library files are
vendor-specific. Your VC++ users will have to generate their own .lib file
from the .dll directly.
Have a look at the following article for more details:
Creating DLLs in BCB that can be used from Visual C++
http://web.archive.org/web/20031207213941/bcbdev.com/articles/bcbdll.htm
Gambit
|
|
| Back to top |
|
 |
|
|
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
|
|