What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Using C# DLL

Using C# DLL
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: Using C# DLL
Interaction with C# DLLs should be done with COM, not with Interop.Call. You need to make your classes and methods "ComVisible" so that they are exposed for COM in the DLL. Have a look at trying to create a c# COM server.

If you want your C# project to interact with the Plus! objects (Messenger, MsgPlus,...), see if you can find something in this Tutorial on How to Let a Script-Callable DLL Handle Scripting Objects. It's written for C++, but you should be able to do the same in C# as well.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
10-20-2010 09:15 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Using C# DLL - by barby850717@gmail. on 10-20-2010 at 08:48 PM
RE: Using C# DLL - by Matti on 10-20-2010 at 09:15 PM
RE: Using C# DLL - by barby850717@gmail. on 10-20-2010 at 09:26 PM
RE: Using C# DLL - by CookieRevised on 10-21-2010 at 08:21 AM
RE: Using C# DLL - by barby850717@gmail. on 10-21-2010 at 01:32 PM
RE: Using C# DLL - by matty on 10-21-2010 at 10:27 PM
RE: Using C# DLL - by felipEx on 10-22-2010 at 02:33 AM
RE: RE: Using C# DLL - by CookieRevised on 10-22-2010 at 07:12 AM
RE: RE: RE: Using C# DLL - by felipEx on 10-23-2010 at 05:15 AM
RE: Using C# DLL - by CookieRevised on 10-23-2010 at 08:27 AM
RE: Using C# DLL - by SmokingCookie on 10-28-2010 at 06:02 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