Shoutbox

How can i load dll developed in c# to msg plus??? - 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)
+----- Thread: How can i load dll developed in c# to msg plus??? (/showthread.php?tid=72184)

How can i load dll developed in c# to msg plus??? by chongsk on 02-28-2007 at 01:15 PM


Hi, Im a beginner in Messenger plus script. I want to load my dll file created using c# so that i can modify the text message that i type in the chat window before it sending out. The modification will be occur  in the function of the dll.

Hope can get ur reply soon... 


RE: How can i load dll developed in c# to msg plus??? by Felu on 02-28-2007 at 01:51 PM

You can create an ActiveXObject something like this.

code:
var MyActiveXObejct = new ActiveXObject("Namespace.Class");
Then to use a function
code:
MyActiveXObject.MyFuntion(MyParameters);

Make sure that the dll is COM Visible ;).
RE: RE: How can i load dll developed in c# to msg plus??? by vikke on 02-28-2007 at 01:54 PM

Felu: That's if it's an ActiveX object, if it's not simply load it with LoadLibrary API.


RE: How can i load dll developed in c# to msg plus??? by chongsk on 03-01-2007 at 01:49 PM

Thanks so much for the reply.But may i know wat is mean by load the dll with LoadLibrary API?
How can i do that?