NET and VC6 DLLs

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello, I have some VC6 DLLs and I want to use them with NET EXEs (MFC 7.0),
but the linker give me many errors, especially in functios with CStrings
(parameters or return); How can I fix it? or have I to compile the VC6 DLLs
in NET?

Thanks in advance,
William GS
 
William GS said:
Hello, I have some VC6 DLLs and I want to use them with NET EXEs (MFC
7.0),
but the linker give me many errors, especially in functios with CStrings
(parameters or return); How can I fix it? or have I to compile the VC6
DLLs
in NET?

You need to recompile MFC DLLs with the same version of the compiler that
you're using for the EXE. They're not binary compatible across VC6 -> VC7
(nor VC7 -> VC7.1 nor VC7.1 -> VC8, as far as I know).

-cd
 
Back
Top