Flemming
2007-11-24 23:00:33 UTC
Hello David,
I attempted to write a COM application about 1œ years ago but ran into some limitations. I ended up writing most of the COM interfacing in VB. Seeing that one of the limitations (output parameters) among other has been lifted and needing to extend the application, I figured I'd try again with APL2.
I need to pass a COM object pointer as a parameter to a property, and I can't make it work.
Here is what I get with the QUERY command:
SendOrder PROPERTY() I4 SendOrder(ITTOrderProfile* pOrderProfile[in])
Reading the UG page 202, I figured the following would work:
COM 'PROPERTY' OBJECT3 'SendOrder[]' ('*' OBJECT1)
but it doesn't - it gives COM error code 80020006.
Am I doing something wrong, or is it just not supposed to work with COM objects in the parameter list?
Best regards,
Flemming Schultze
I attempted to write a COM application about 1œ years ago but ran into some limitations. I ended up writing most of the COM interfacing in VB. Seeing that one of the limitations (output parameters) among other has been lifted and needing to extend the application, I figured I'd try again with APL2.
I need to pass a COM object pointer as a parameter to a property, and I can't make it work.
Here is what I get with the QUERY command:
SendOrder PROPERTY() I4 SendOrder(ITTOrderProfile* pOrderProfile[in])
Reading the UG page 202, I figured the following would work:
COM 'PROPERTY' OBJECT3 'SendOrder[]' ('*' OBJECT1)
but it doesn't - it gives COM error code 80020006.
Am I doing something wrong, or is it just not supposed to work with COM objects in the parameter list?
Best regards,
Flemming Schultze