What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Function dll C# in scripts ( Msg+ )

Function dll C# in scripts ( Msg+ )
Author: Message:
deAd
Scripting Contest Winner
*****

Avatar

Posts: 1060
Reputation: 28
– / Male / Flag
Joined: Jan 2006
RE: Function dll C# in scripts ( Msg+ )
Interop::Call can also call from custom libraries, the only difference is that Interop::Call2 returns a string.

Melliott, you will need to make sure the function you want to call is exported from the dll. Then just put the path of the library, name of the export, and the parameters you want into Interop::Call or Interop::Call2 (depending on if the function returns a string or not).

EDIT: From a quick google search, it looks like you cannot export with C# (I may be wrong, I do not use C#) but you can create a library which can be registered to use with COM.

This post was edited on 03-02-2008 at 10:58 PM by deAd.
03-02-2008 10:48 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Function dll C# in scripts ( Msg+ ) - by melliott on 03-02-2008 at 01:40 PM
RE: Function dll C# in scripts ( Msg+ ) - by Spunky on 03-02-2008 at 05:43 PM
RE: Function dll C# in scripts ( Msg+ ) - by ShawnZ on 03-02-2008 at 07:43 PM
RE: Function dll C# in scripts ( Msg+ ) - by roflmao456 on 03-02-2008 at 10:38 PM
RE: Function dll C# in scripts ( Msg+ ) - by deAd on 03-02-2008 at 10:48 PM
RE: Function dll C# in scripts ( Msg+ ) - by ShawnZ on 03-02-2008 at 10:53 PM
RE: Function dll C# in scripts ( Msg+ ) - by vikke on 03-02-2008 at 11:40 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