Re: Using Borland C++ object files in VC++
- From: "gokcen" <gokcen.eraslan@xxxxxxxxx>
- Date: 2 Mar 2007 04:46:37 -0800
On 2 Mart, 12:26, Bruno van Dooren [MVP VC++]
<bruno_nos_pam_van_doo...@xxxxxxxxxxx> wrote:
I have an obj file, that is compiled with Borland C++ in MS-DOS, and i
don't have source codes. There are some c-style mathematical functions
in obj file. Now, i need to use this file in a program written in VC++
6 in XP.
I know Borland uses OMF and VC++ uses COFF, and this is not the
problem since visual studio can convert OMF to COFF. I guess real
problem is about different linker name conventions. How can i solve
this? Are there any tools about this conversion?
Hi,
I don't have C++ experience with DOS, but:
If linker and naming conventions were the only problem you'd be lucky.
Even if this is / were not the case, object files are never portable between
compiler versions, and definitely not between compiler vendors, and even if
they were, your object file was not compiled for a win32 subsystem.
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.
Maybe someone with DOS experience will chime in to say that I am wrong, but
I think it is impossible to use that object file with VC6.
--
Kind regards,
Bruno.
bruno_nos_pam_van_doo...@xxxxxxxxxxx
Remove only "_nos_pam"
Thanks, Gokcen.
.
- References:
- Using Borland C++ object files in VC++
- From: gokcen
- Using Borland C++ object files in VC++
- Prev by Date: Re: Copyfile(unc, unc, overwrite)
- Next by Date: Re: Copyfile(unc, unc, overwrite)
- Previous by thread: Using Borland C++ object files in VC++
- Next by thread: Re: Using Borland C++ object files in VC++
- Index(es):
Relevant Pages
|