What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » trying to create a c# COM server

trying to create a c# COM server
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: trying to create a c# COM server
Umm why are you using CreateObject?

jscript code:
var o = new ActiveXObject("comtest.sniffer");

and everything else works fine :P

ok scrap that, it decided it didn't want to work all of a sudden.

jscript code:
var o = new ActiveXObject("comtest.sniffer");

function OnEvent_Initialize(){
    function o::onPacket(){
        Debug.Trace("Event called!");
    }
    o.run();
}

That should work, Plus! seems to be fussy about initialisation stuff *shrugs*

* Eljay is intrigued by the class name though :P

This post was edited on 02-19-2009 at 09:22 PM by Eljay.
02-19-2009 09:17 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
trying to create a c# COM server - by -dt- on 02-16-2009 at 06:24 AM
RE: trying to create a c# COM server - by -dt- on 02-19-2009 at 04:57 AM
RE: trying to create a c# COM server - by Dr Nick on 02-19-2009 at 09:39 AM
RE: trying to create a c# COM server - by Eljay on 02-19-2009 at 09:17 PM
RE: trying to create a c# COM server - by -dt- on 02-20-2009 at 12:16 AM
RE: trying to create a c# COM server - by Dr Nick on 02-20-2009 at 06:08 AM
RE: trying to create a c# COM server - by -dt- on 02-20-2009 at 01:03 PM
RE: trying to create a c# COM server - by ShawnZ on 02-20-2009 at 01:37 PM
RE: trying to create a c# COM server - by Spunky on 02-20-2009 at 01:47 PM
RE: trying to create a c# COM server - by -dt- on 02-20-2009 at 02:19 PM
RE: trying to create a c# COM server - by Dr Nick on 02-21-2009 at 01:54 AM
RE: trying to create a c# COM server - by John Anderton on 02-21-2009 at 07:33 AM
RE: trying to create a c# COM server - by ShawnZ on 02-21-2009 at 10:42 AM


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