| Plugin template for Dev-C++ (free compiler!) Hi,I’ve downloaded that file, but it still doesn’t work, I get the following errors:
 
 In file included from MPPluginC.h:13,
 from MPPluginC.cpp:11:
 MPPluginHeader.h:39: syntax error before `*'
 MPPluginHeader.h:45: syntax error before `*'
 MPPluginHeader.h:99: type specifier omitted for parameter
 MPPluginHeader.h:99: parse error before `*'
 MPPluginC.cpp:32: type specifier omitted for parameter
 MPPluginC.cpp:32: parse error before `*'
 MPPluginC.cpp: In function `BOOL ParseTag(const char *, PLUGIN_PARAM *, char *)':
 MPPluginC.cpp:130: implicit declaration of function `int rand(...)'
 
 I’ve solved that last error by including stdlib.h, but what can I do with the other errors?
 
 The first two errors are both ‘IDispatch *iConversationWnd;’ but the first one is in the PLUGIN_PARAM struct and the second in PLUGIN_PARAMW;
 
 The other two errors are also the same: ‘IDispatch* iMessengerObj’ the stand both in ‘MPPLUGIN_RETURN_BOOL Initialize’, but the first one is in MPPluginHeader.h and the other one in MPPluginC.cpp.
 
 I work with dev-C++ 4.9.8.7. and I’m using the standard Mingw compiler, so I don’t think that could be the problem.
 
 |