Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exploring Internet Explorer with the VFP 7 Debugger
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00654329
Message ID:
00657266
Views:
26
(SNIP)
>
>You can drill down the interface to any active COM instance; you need to get a handle to the COM instance, which is easier to get with the C++ debugger; you can obtain a handle to a COM interface with some of the new SYS() commands available in VFP7, and then use them to access running objects through OLEView. It's not like clicking on something in the debut it's infinitely more powerful than anything built into VFP or VB for completely exploring class and object instances.
>
(SNIP)

Ed,

Can you please tell me how I go from instantiating an object in VFP 7 to examining that instance via OLEView. Let's say I start with these steps:
x = CREATEOBJECT("InternetExplorer.Application")
x.navigate2('http://localhost/')
x.Visible = .t.
I assume that the new SYS() function you're referring to is SYS(3095) - IDispatch Pointer. So I can take SYS(3095, x) to obtain a numeric result, but what the heck do I do with that? OLEView gives me a way to open a file, and it seems to be able to instatiate objects itself, but I don't see how I pass it a reference to an already instantiated object. I did notice that I can drag and drop an internet shortcut into the treeview, causing it to create a new Object Instances branch, but this just has an entry for a Drag and Drop Data Object.

Another observation is that I need to be logged in as an administrator to see all of the tabs of information that OLEView has to offer, but I'm still unclear as to where I would stick the value obtained from SYS(3095, x), if that is what is needed. A little more explanation would be very helpful, if you would be so kind.

TIA

Mike
Montage

"Free at last..."
Previous
Reply
Map
View

Click here to load this message in the networking platform