Salome HOME
Porting SALOME HELLO module to win32 platform.
[samples/hello.git] / src / HELLOGUI / HELLOGUI.cxx
index ae0d83a7f7fb13b31d1527bf4184b240fd437d9d..428fb4f3dad75b5a9d2905dd01c94a81d3d52fda 100644 (file)
@@ -892,11 +892,13 @@ void HELLOGUI::init()
 // Export the module
 extern "C" {
   // FACTORY FUNCTION: create an instance of the Hello module GUI
+  HELLO_EXPORT
   CAM_Module* createModule()
   {
     return new HELLOGUI();
   }
   // VERSIONING FUNCTION: get Hello module's version identifier
+  HELLO_EXPORT
   char* getModuleVersion() 
   {
     return (char*)HELLO_VERSION_STR; // HELLO_VERSION_STR is defined in HELLO_version.h