www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - Use DMC DLL in VC++

reply Jesse H. <Jesse_member pathlink.com> writes:
I made a dll in dmc and tested it dmc. Everything is ok. I need to use this dll
in VC++, but I got a linking error "fatal error LNK1136: invalid or corrupt
file". Can anyone help? TIA.
Jun 12 2006
parent "Sergio A. Reyes-Peniche" <sreyesp gmail.com> writes:
On Tue, 2006-06-13 at 06:24 +0000, Jesse H. wrote:
 I made a dll in dmc and tested it dmc. Everything is ok. I need to use this dll
 in VC++, but I got a linking error "fatal error LNK1136: invalid or corrupt
 file". Can anyone help? TIA.
 
 
What kind of DLL? If it's in C, you should check out about linkage specifications. If it's in C++, it's not possible, as different compilers have different ABIs. Sergio Reyes-Peniche
Jun 13 2006