>I create an event handler using
>
>
>EventHandler(oCOMObject, oVFPObject)
>
>
>I want to access to oCOMObject properties from event in oVFPObject without
>using global memory variable.
>
>Is this possible ?
Andrus,
Then you need to use some property which will be pointing to th oCOMObject.
You might even add a property to your oVFPObject (say, oEventSource) which receives the events.
oVFPobject.oEventSource = oCOMObject
or you can even create your COM object as
oVFPobject.oEventSource = CREATEOBJECT("mycomdll.mycom1")
EventHandler(oCOMObject, oVFPobject.oEventSource)
Then you address it:
this.oEventSource.SomeProperty = whatever
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison