GetExportPragmas
Adds pragmas for exporting functions.
function GetExportPragmas( );
Return Value
A string containing the export pragmas. Can be one of the following:
#pragma comment(linker, "/EXPORT:DllCanUnloadNow=_DllCanUnloadNow@0,PRIVATE")'
#pragma comment(linker, "/EXPORT:DllGetClassObject=_DllGetClassObject@12,PRIVATE")
#pragma comment(linker, "/EXPORT:DllRegisterServer=_DllRegisterServer@0,PRIVATE")
#pragma comment(linker, "/EXPORT:DllUnregisterServer=_DllUnregisterServer@0,PRIVATE")
Remarks
Call this function to add pragmas for exporting functions.
Example
oDllCanUnloadNow.StartPoint.Insert(GetExportPragmas() + "\r\n");
oCM.Synchronize();
See Also
Tasks
Reference
Concepts
Customizing C++ Wizards with Common JScript Functions