Hi,
I am trying to call the borland C++ DLL from VS 2005 .But its giving Linking Error.
Tried teh below one still its not working ,
Extract the DEF file from DLL
converted the DEF to LIB file.
Any one have any idea ?

Thanks,
Angelin

Your question is hopelessly vague. What is the "Borland C++ DLL"? Is it a DLL written and compiler using a Borland compiler? Is it some DLL shipped with the Borland compiler? Give us some details.

I am trying to call the borland C++ DLL from VS 2005 .But its giving Linking Error.

You can't link Borland DLLs from Microsoft compilers because name mangling is different. Even C language names are different -- Microsoft puts an underscore before the name while Borland doesn't. There are even more difference in c++ function mangling.

However, all may not be lost. You might be able to dynamically link by calling LoadLibrary() then GetProcAddress(). This will return a pointer to the function which you can then use to call the function.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.