Re: Using Borland C++ object files in VC++
Hi Bruno!
Object files does not contain any dos-specific functions, only some
mathematical algorithms are implemented there. I know VC++ dlls can be
imported by Borland using implib, impdef etc, and this proof of the
conversion is why i am hopeful.
This has nothing to do with dos functions or not.
If that object file was compiled under dos, for dos, it is 16 bit code. not
32 bit code.
Hmm... 16-bit opcodes are fully compatible with 32-bit opcodes...
A 32 bit compiler like VC6 cannot do anything with that code, even if it
could use borland object files, which it can't.
Hmm... VC compiler always had support for OMF object format! which is
used by borland and early MS compilers!
object files are compiler specific, and the contents of the object files are
not portable between compiler versions.
This is not 100% true... if there is no dependecy to other libs, then
you can use the obj file...
But: Starting with VS2005, MS dropped support for OMF format:
See: OMF File Format is not longer supported
http://blog.kalmbachnet.de/?postid=79
@OP: YOu can use editbin/dumpbin to see what the OMF-file contains! Then
you can use appropriate header files...
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/