General information
Category:
Object Oriented Programming
>So, does it mean that I can pass the object to one of methods of COM server to register it there?
>I mean:
>
>Main.INIT
>
>goCOMSRV = create([myDCOM.DCOM])
>goCOMSRV.RegisterIT(THIS)
>
Yes... if you could pass objects.
If passing objects doesn't work, you may be able to pass properties by reference, but I haven't tried it...
goCOMSvr.RegisterIT( @this.WhatEverYouNeed )
OF course, that property could have an assign method on it too, to process the value that the COM server puts into it. This is all theory of course, I haven't tried it.
>>>so, how should I pass an object to COM object?
>>2. I think you have to wait till the next SP to pass an Object
>
>Are you talking about VFP 6.5?
SP3, 6.5, what ever they call it... just yesterday KenLEvy said passing Objects to COM objects was added to 'the next version of VFP'. Lets hope he doesn't mean 7.0. <g>
BOb
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only