What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » ReadInterfacePtr + WriteInterfacePtr (DataBloc)

ReadInterfacePtr + WriteInterfacePtr (DataBloc)
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc)
quote:
Originally posted by Patchou
WriteInterfacePtr simply writes the address of the IDispatch interface associated with the object, nothing more. It is your responsability to do thigns like AddRef and Release to make sure the object is not destroyed before the interface pointer is read back.

If you have a particular example of something you want to do, please post :)

Is it possible to actually create a new IDispatch object (exposing IMessenger purely as an example) using JScript only (no dll) and then get a object for it so it's possible to do something like:
IMessenger.Signout();
I know you expose all the important stuff from IMessenger in the Messenger object but purely for example's sake...

Or is it just a case of not being able to create objects this way, and ReadInterfacePtr can only be used on objects which have been written to a DataBlock previously using WriteInterfacePtr.

Thanks for replying anyway though, even if you are still being rather vague, leaving me in my confused state... :P
03-15-2007 08:55 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by deAd on 03-12-2007 at 04:31 PM
RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by matty on 03-12-2007 at 05:04 PM
RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by deAd on 03-12-2007 at 05:08 PM
RE: RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by TheSteve on 03-14-2007 at 02:59 PM
RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by Patchou on 03-15-2007 at 08:36 PM
RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by Eljay on 03-15-2007 at 08:55 PM
RE: RE: ReadInterfacePtr + WriteInterfacePtr (DataBloc) - by deAd on 03-15-2007 at 09:03 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