Shoutbox

Plugin template for Dev-C++ (free compiler!) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Plugin template for Dev-C++ (free compiler!) (/showthread.php?tid=14397)

Plugin template for Dev-C++ (free compiler!) by Lareamond on 08-11-2003 at 08:46 PM

Posting for DJMystic again... :p

quote:
DEVCPP.zip Readme
MSN Plus! 2 plugin example for C++ converted to Dev-C++
-------------------------------------------------------
Converted by DJMystic
revision 1.0
get Dev-C++ at http://sourceforge.net/projects/dev-cpp/
(Conversion was made for version 4.9.8.0)
-------------------------------------------------------
HOW DID YOU MAKE IT?
- Threw away VC++ stuff,
- Made new DLL project in Dev-C++
- deleted standard fiels, added all .cpp & .h files
- deleted comdef.h include file from MPPlugin.h (dev-c++ doesn't have it)
- Threw away .def file (dev-c++ made its own, and didn't udnerstand )
- Compiled,
- Done :D

HOW DO I USE IT?
Open project (the .dev file), edit, compile, put in plus! plugins directory, restart msn or run reload program :D

WHERE CAN I LEARN C++?
www.google.com is your friend!

WHATS THE PATCHOUS_README.TXT ?
Patchou's original readme :D

WHY DID YOU MAKE THIS?
because not everyone can afford (or coppy >:)) VC++, so here's the same sample for a free compiler ;)

HAVE FUN!
GRTZ DJMystic


You can get DevC++ here (Official Site):
http://www.bloodshed.net/devcpp.html

Or

Here (Primary Download Site):
http://sourceforge.net/projects/dev-cpp/
RE: Plugin template for Dev-C++ (free compiler!) by HDC on 08-11-2003 at 10:49 PM

Seems kinda handy to me,
Nowadays i have VC++, but in my college time i used Dev-C++ (because VC++ was so damn expensive)
Later on i did decide to buy VC++, since dev-c++ misses some headers (like commdef.h)

Good job (y) DjMistic & LareAmond

- HDC


RE: Plugin template for Dev-C++ (free compiler!) by Patchou on 08-11-2003 at 11:26 PM

nice, thank you


RE: Plugin template for Dev-C++ (free compiler!) by s7a5 on 08-12-2003 at 05:48 AM

useful (y)


RE: Plugin template for Dev-C++ (free compiler!) by jpg050 on 08-12-2003 at 11:20 PM

Dev-C++ is nice, I've been using it for a long time... Although I'm supposed to use Borland C 3 for DOS... how sad.


Plugin template for Dev-C++ (free compiler!) by jordi on 04-10-2004 at 01:16 PM

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.


RE: Plugin template for Dev-C++ (free compiler!) by jordi on 04-17-2004 at 02:17 PM

the .dev file


RE: Plugin template for Dev-C++ (free compiler!) by crank on 04-17-2004 at 02:51 PM

Thx i was looking for one of these for a long time!