What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » ReadInterfacePtr() - Crashes Windows Live Messenger

ReadInterfacePtr() - Crashes Windows Live Messenger
Author: Message:
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: ReadInterfacePtr() - Crashes Windows Live Messenger
I apologize for the lack of answers I gave you regarding this matter in the past. Proof that I should have done so before: it was a bug that prevented you from using this function properly. Your code is correct, the bug was fixed in build 341. Have fun with IAccessible :).

JScript code:
    var pAccessibleData = Interop.Allocate(4);
    if(Interop.Call('oleacc', 'AccessibleObjectFromWindow', hWnd, 0xFFFFFFFC /* OBJID_CLIENT */, IID_IAccessible, pAccessibleData) == 0)
    {
        var iAccessible = pAccessibleData.ReadInterfacePtr(0);
        if(iAccessible)
        {
            iAccessible.accHitTest(0, 0);
        }
    }

[Image: signature2.gif]
10-19-2008 06:08 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
ReadInterfacePtr() - Crashes Windows Live Messenger - by matty on 10-12-2008 at 07:48 PM
RE: ReadInterfacePtr() - Crashes Windows Live Messenger - by Eljay on 10-15-2008 at 04:58 PM
RE: ReadInterfacePtr() - Crashes Windows Live Messenger - by mynetx on 10-17-2008 at 12:07 PM
RE: ReadInterfacePtr() - Crashes Windows Live Messenger - by Patchou on 10-19-2008 at 06:08 PM
RE: ReadInterfacePtr() - Crashes Windows Live Messenger - by matty on 10-19-2008 at 06:12 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