![]() |
#1 |
Junior Member
Junior member
Join Date: Dec 2003
Posts: 1
|
![]()
ac_plugin.h contains an #ifdef WINDOWS statement. But in Visual C++ 7 WINDOWS not defined. So either change this statement to #ifdef _WINDOWS or put #define WINDOWS in your own code.
If you don't change this your plugin will compile fine in Visual C++ 7, but it will not export any functions and AC3D will generate an error when loading your plugin. |
![]() |
![]() |
![]() |
#2 |
Member
Advanced member
Join Date: Jul 2003
Location: Hampshire UK
Posts: 38
|
![]() ![]() Mark |
![]() |
![]() |
![]() |
#3 |
Junior Member
Junior member
Join Date: Jul 2004
Posts: 8
|
![]()
Ack!!! Trying to make an export plugin and VC++7 .net is making it hard. Had trouble getting around the name mangling that VC++ likes to do. Seems the solution is to type extern "C" before AC3D_PLUGIN_FUNC. Now everything seems to work ok.
![]() [/b] |
![]() |
![]() |
![]() |
|
|