What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » .net support??

.net support??
Author: Message:
bws
New Member
*


Posts: 13
Joined: Dec 2003
RE: .net support??
Hehe,

I totaly agree with BW_DUO, c# is the future.. but c++ and managed c++ is the current..

It is easy to just write a little wrapper in managed c++ which will load a .net dll which is its own name .net

So the same assembly renamed to wee.dll will load wee.net.dll, and renamed to rrr.dll it will load rrr.net.dll..

That is the easiest way for n00bs to do it.. or just make the whole plugin in managed c++ (AND before n00bs get complaining!! NEVER USE MANAGED CODE IN THE DLL OFFSET FUNCTION (dllmain) (m$ bug ;)))


Ow and i think plugins should be revised

There can be a lot of enhancements:

  • Dont use the stupid ->nBlah = 5 and then ->aBlah[1] = 3.. as used for example exporting the info about the commands of plugins.. But make a simple add function which takes care of that (and use a vector) so that you only have to use ->add(3, "blag", "gfgg");
  • Make it possible to put multiple plugins in one dll: In other words.. Let a module be a class which implements IMPPlugin class (which has all the virtual functions which have to be overwritten). And let there be only one function in the dll that has to be exported (except dllmain), that is getplugins(/*[out]*/ cPluginCollect PluginCollection); , where you just add plugins by using PluginCollection->Add(new SomePlugin);.. It makes things so much more easier (And the patchou doesnt need to keep all the dll`s loaded in the memory ;))
  • And a lot more, but i`m lazy, and people tend to just avoid the main issue by attacking 'a' little flaw in my concepts :P
02-02-2004 12:34 AM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
.net support?? - by BWDuo on 01-30-2004 at 01:48 PM
RE: .net support?? - by Mnjul on 01-30-2004 at 01:50 PM
RE: .net support?? - by Stigmata on 01-30-2004 at 01:51 PM
RE: .net support?? - by Mnjul on 01-30-2004 at 01:52 PM
RE: .net support?? - by Stigmata on 01-30-2004 at 01:54 PM
RE: .net support?? - by BWDuo on 01-30-2004 at 02:00 PM
RE: .net support?? - by Choli on 01-30-2004 at 03:26 PM
RE: .net support?? - by BWDuo on 01-30-2004 at 03:31 PM
RE: .net support?? - by Mnjul on 01-30-2004 at 03:57 PM
RE: .net support?? - by CookieRevised on 01-30-2004 at 05:14 PM
RE: .net support?? - by BWDuo on 01-30-2004 at 05:31 PM
RE: .net support?? - by Choli on 01-30-2004 at 07:51 PM
RE: .net support?? - by BWDuo on 01-30-2004 at 08:10 PM
RE: .net support?? - by optimism_ on 01-30-2004 at 09:21 PM
RE: .net support?? - by BWDuo on 01-30-2004 at 10:29 PM
RE: .net support?? - by Patchou on 01-31-2004 at 08:16 AM
RE: .net support?? - by Patchou on 01-31-2004 at 08:17 AM
RE: .net support?? - by BWDuo on 01-31-2004 at 09:11 AM
RE: .net support?? - by optimism_ on 01-31-2004 at 11:11 AM
RE: RE: .net support?? - by BWDuo on 01-31-2004 at 11:36 AM
RE: .net support?? - by optimism_ on 01-31-2004 at 11:39 AM
RE: .net support?? - by SilenceTi on 02-01-2004 at 03:15 PM
RE: .net support?? - by InsertBrainHere on 02-01-2004 at 03:52 PM
RE: .net support?? - by InsertBrainHere on 02-01-2004 at 04:19 PM
RE: .net support?? - by InsertBrainHere on 02-01-2004 at 04:49 PM
RE: .net support?? - by InsertBrainHere on 02-01-2004 at 04:55 PM
RE: .net support?? - by bws on 02-02-2004 at 12:34 AM
RE: .net support?? - by InsertBrainHere on 02-02-2004 at 04:35 PM
RE: .net support?? - by bws on 02-02-2004 at 05:20 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On