What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » DLL function detection (?) + weird error

DLL function detection (?) + weird error
Author: Message:
SmokingCookie
Senior Member
****

Avatar

Posts: 815
Reputation: 15
30 / Male / Flag
Joined: Jul 2007
O.P. DLL function detection (?) + weird error
Hi,

I have 2 questions (and it seems a bit stupid to me, to post 2 threads in less than 15 min. :P ).

1.

Is there a way to detect when a DLL function is called (so when I display a message box using "MessageBoxW" in "User32.dll")?

2.

In the following piece of code, I get some weird error (though my scirpt works perfectly):

code:
    var Contacts = Messenger.MyContacts;
    var e = new Enumerator(Contacts);
    var c = Contacts.Count;
    for(i = 0; i < c; i++) {
        e.moveNext();
        Contact = e.item();
        EmailArray[i] = Contact.Email; // This line keeps giving a "-2146823281"-error..
//        Debug.Trace(EmailArray[i]); Disabled.. Only gives the email addresses from the contactlist..
        WndEmail.Combo_AddItem("Email",Contact.Email);
    }

The error states that Contacts.Email is an empty object.
Part of the problem is my ability to understand the "for()" statement.. Which I don't really really don't understand..



2nd question solved :D

This post was edited on 04-14-2008 at 04:27 PM by SmokingCookie.
04-13-2008 05:14 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
DLL function detection (?) + weird error - by SmokingCookie on 04-13-2008 at 05:14 PM
RE: DLL function detection (?) + weird error - by ShawnZ on 04-13-2008 at 05:52 PM
RE: RE: DLL function detection (?) + weird error - by SmokingCookie on 04-13-2008 at 06:00 PM
RE: DLL function detection (?) + weird error - by ShawnZ on 04-13-2008 at 06:03 PM
RE: DLL function detection (?) + weird error - by SmokingCookie on 04-13-2008 at 06:07 PM
RE: DLL function detection (?) + weird error - by felipEx on 04-13-2008 at 08:30 PM
RE: DLL function detection (?) + weird error - by matty on 04-14-2008 at 11:44 AM
RE: DLL function detection (?) + weird error - by SmokingCookie on 04-14-2008 at 02:52 PM
RE: DLL function detection (?) + weird error - by Matti on 04-14-2008 at 04:13 PM
RE: DLL function detection (?) + weird error - by SmokingCookie on 04-14-2008 at 04:19 PM
RE: DLL function detection (?) + weird error - by Matti on 04-14-2008 at 04:40 PM
RE: DLL function detection (?) + weird error - by SmokingCookie on 04-14-2008 at 04:47 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