What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to use Interop.Call2??

How to use Interop.Call2??
Author: Message:
chongsk
New Member
*


Posts: 3
Joined: Jan 2007
O.P. How to use Interop.Call2??
Can this command use for an external dll program that I wrote in C# language?
If can , how i use it?

I try to use it in this way:

function OnEvent_ChatWndSendMessage(chatWnd,message)
{
   if(message=='test')
   {
     message=Interop.Call2("plus_2.Class1.dll","hello");
     
   }
return message;
}
I want if i type "test" in the chat window then the dll file that i created will be call and return a string value and replace the text that i want to send out . 
03-01-2007 04:03 PM
Profile E-Mail PM Find Quote Report
vikke
Senior Member
****

Avatar

Posts: 900
Reputation: 28
31 / Male / Flag
Joined: May 2006
RE: How to use Interop.Call2??
I think you should use ActiveX objects. Create an activex by doing:
code:
var oActiveX = new ActiveXObject("YourClass.YourObject");
4 8 15 16 23 42
03-01-2007 07:13 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »


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