I read the C ++ header file, which writes:
class CLASSEXPORT skExecutable : {.....}
The comment says that CLASSEXPORT is a macro extension, and then I find where CLASSEXPORT is defined.
#define CLASSEXPORT
And thatβs all ... I am confused by this. What is CLASSEXPORT in this sense? And how to understand the skExecutable class?
CLASSEXPORT (, , - ), class skExecutable {<...>};. /, . , COMPILING_DLL:
CLASSEXPORT
class skExecutable {<...>};
COMPILING_DLL
#if COMPILING_DLL #define DLLEXPORT __declspec(dllexport) #else #define DLLEXPORT __declspec(dllimport) #endif class DLLEXPORT MyClass { };
: CLASSEXPORT - . - - , , , .
, CLASSEXPORT , , - , . CLASSEXPORT
#define CLASSEXPORT __declspec(dllexport)
skExecutable .
skExecutable
Source: https://habr.com/ru/post/1612906/More articles:Allow only 2 numbers for input type number - javascriptASP.NET 5 beta8 CORS with Authorize attribute not working - c #jQuery selectorVS2015 RC Delay Notification - vb.netFixed a bug caused by a series of lines in Win32 in Windows 10 - multilineHow to compile into a list using streams returning my own implementation of List? - javaForwarding Forwarding for C # Library - c #How to populate a report using a JSON data source without getting null values? - javaFind the shortest length of the sequence from the list of arrays that should contain an element from each array - arraysGO TO DEFINITION from Javascript file not working - javascriptAll Articles