Home > Back-end >  C language DLL, and what is the difference between C DLLS, if input and output using C basic data ty
C language DLL, and what is the difference between C DLLS, if input and output using C basic data ty

Time:03-19

Usually use C to write a DLL, so other languages also can call, because other languages offer a basic method of DLL call C

C language DLL, and what is the difference between C + + DLL?

Written in C + + DLL, if internal data structure using C + + STL function, such as vector, but the basic data types, input and output using C

It also can be invoked by any other languages? This is no difference in the DLL with the C language?

CodePudding user response:

Or, even though my name is *. C, but I use the vs2019, item type is a DLL, compiled is c + + DLL version? No strict difference?

CodePudding user response:

Don't know what happened to Microsoft, should with GCC similar, g + + GCC to compile the g + + can also compile, because C + + supports all the grammar of the C (just promise, of course, there are exceptions to wrangle), but due to the overloaded C + +, so in order to fit into the extern "C" mechanism, and, in short two types of DLL, should do not have what essential difference between is named in a different way

CodePudding user response:

DLL is binary reuse, so his standard is not according to the points of the source program, and has its own standards and what the relationship between the language is not big,
  • Related