Can I use the C style library built with VC6 directly in a VC9 project?

We use the internal library (developed by another team) built into the VC6 compiler. This library mainly contains the C Style API. We have a plan for moving to Visual Studio 9 compiler. Should I request that the library be built using the VC9 compiler?

A more general question is: at what points (can be called mangling, optimization, etc.) is a DLL built using two different versions of the Visual Studio compiler different?

+3
source share
2 answers

C. , , . , . , , Visual ++.

mangling Visual ++, ++. C (, DEF), .

, .

+4

AFAIK, Visual ++ .

, , , CRTL , DLL EXE , RTL.

, DLL, , . , DLL.

API extern "C" ( 32- ), (__stdcall__ WINAPI _cdecl...)

, , CRTL: ! , , .

, , .

+2

Source: https://habr.com/ru/post/1721078/


All Articles