CP_EXPORT in class declaration in C ++
3 answers
CP_EXPORT
most likely a macro for conditionally exporting or importing a class from a DLL.
For example, when using Visual C ++, the macro is used to conditionally choose between using dllexport
anddllimport
. This allows the same header to be used both for building the project of the DLL itself and for any projects that link or load the DLL.
+3
a source to share