Shoutbox

[how?] C# DLL for scripts - 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?] C# DLL for scripts (/showthread.php?tid=90527)

[how?] C# DLL for scripts by SmokingCookie on 05-06-2009 at 03:01 PM

Plain and simple: is it possible to write a DLL in C# which functions can be called through Interop.Call()?

If yes: how?


RE: [how?] C# DLL for scripts by Mnjul on 05-06-2009 at 03:42 PM

No, you need to use them as ActiveXObjects.


RE: [how?] C# DLL for scripts by matty on 05-06-2009 at 03:51 PM

trying to create a c# COM server
C# dll?


RE: [how?] C# DLL for scripts by SmokingCookie on 05-06-2009 at 04:56 PM

Okay, I've got something that works, thanks :D


RE: [how?] C# DLL for scripts by SmokingCookie on 05-07-2009 at 04:25 PM

No longer. When I reference to the ActiveX DLL, the debugger says: "Automation cannot create the object", suggesting that the ActiveX is not registered. I did, however, include it in ScriptInfo.xml and then imported the script from a PLSC file.

Any ideas why this could be?