definition of dllimport function not allowed in src\server\core\container.cpp

Started by antonyvasanth, November 17, 2008, 12:51:08 PM

Previous topic - Next topic

antonyvasanth

Hi,

I have got the following error. Kindly please help me to resolve the same

c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\server\core\container.cpp(32) : error C2491: 'FindContainerCategory' : definition of dllimport function not allowed


Thanks and Regards,

Antony Vasanth

antonyvasanth

Hi ,

I have fixed this error by adding the flag NXCORE_EXPORTS in the project->properties->C\C++\preprocessor--> preprocessor definitions.


Regards,

Antony vasanth.