Home > Back-end >  Using 11 c compiler to generate the dynamic libraries can be only support 98 c compiler links
Using 11 c compiler to generate the dynamic libraries can be only support 98 c compiler links

Time:12-18

Using c + + 11 compiler to generate dynamic library (internal contains c + + 11 syntax, but foreign header file)
Can be only support 98 c + + compiler links

CodePudding user response:

Just use colleagues computer test, can, probably just foreign not exposed to c + + 11,

CodePudding user response:

?? , is this your own answer

CodePudding user response:

Dynamic libraries across language can be,

CodePudding user response:

The reuse of DLL is binary, do not have what relation with language standards,

CodePudding user response:

DLL can be not only c/c + + to use, can also be c #, Java, vb and vba, etc all can perform under Windows language called
Because he was designed in this way, and DLL at the beginning of the invention, the c + + has not become the mainstream of language, so the DLL export functions and data best qualify for c instead of c + +

CodePudding user response:

Regardless of 98 c + +, or c + + 11, they just language standard, and the DLL is at the bottom of the interaction, did not set the standard c + + language and the underlying implementation must agree, DLL is based on the binary calls, different compilers for the realization of the language standard does not necessarily consistent, so I think don't object-oriented features used in c + + DLL operate above
  • Related