As requested... stop buggin me in chat; I don't use it- but here is MS-specific import/export of DLLs in plain old C. We all know MS has created an alternate "MS" code for all langs out there- so look them up on their respective sites. xoxoxox
As requested... stop buggin me in chat; I don't use it- but here is MS-specific import/export of DLLs in plain old C. We all know MS has created an alternate "MS" code for all langs out there- so look them up on their respective sites. xoxoxox
As requested... stop buggin me in chat; I don't use it- but here is MS-specific import/export of DLLs in plain old C. We all know MS has created an alternate "MS" code for all langs out there- so look them up on their respective sites. xoxoxox
DLL Import and Export Functions (Microsoft Specific)
The dllimport and dllexport storage-class modifiers are Microsoft-specific extensions to
the C language. These modifiers explicitly define the DLL's interface to its client (the executable file or another DLL). Declaring functions as dllexport eliminates the need for a module-definition (.DEF) file. You can also use the dllimport and dllexport modifiers with data and objects. The dllimport and dllexport storage-class modifiers must be used with the extended attribute syntax keyword, __declspec, as shown in this example:
#define DllImport __declspec( dllimport ) #define
DllExport __declspec( dllexport ) DllExport void func(); DllExport int i = 10; DllExport int j; DllExport int n;