What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » can't call my dll's function

can't call my dll's function
Author: Message:
graphicsxp
New Member
*


Posts: 6
Joined: Sep 2006
O.P. RE: can't call my dll's function
Hi,
Thanks for helping!

I've registered the dll using regasm. Now my code looks like this:
code:
Namespace myMSN
    Public Class Msg
        Public Sub New()

        End Sub

        Public Function Display() As Boolean
            MsgBox("hello world")
            Return True
        End Function
    End Class
End Namespace

my jscript is :

code:
function OnEvent_ChatWndCreated(ChatWnd)
{
var vbDotNetObject = new ActiveXObject("myMSN.Msg");
vbDotNetObject.Display();
MsgPlus.DisplayToast("", vbDotNetObject.Display());
}
and yet it doesn't do anything :(

Do you have an idea why ?

I can't even see the debug window, it's gone for some reason and I can't reactivate it even if I tick the checkbox in the options...


09-08-2006 10:04 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
can't call my dll's function - by graphicsxp on 09-03-2006 at 09:51 PM
RE: can't call my dll's function - by Mnjul on 09-07-2006 at 12:21 PM
RE: can't call my dll's function - by graphicsxp on 09-08-2006 at 10:04 PM
RE: can't call my dll's function - by ShawnZ on 09-08-2006 at 10:06 PM
RE: can't call my dll's function - by graphicsxp on 09-08-2006 at 10:09 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