Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 01 MAY 2007 08:23:17AM Martin Drenovac wrote:

I'm just programming an interaction to a COM object.

How do I pass in data which the COM object expects as an array.

That is how do I seperate item(1) from (2) - with something as simple as @FM.

When reading an array back from a COM object - what is the seperator that the array will come back with?

Thanks


At 11 MAY 2007 02:29AM Colin Rule wrote:

If you have the DLL declarations you need to:

- Check out the Var_To_Struct OI function

- Check out the OI form executable for DEFINE_STRUCT

- Define your structure based on the DLL

- Do a DECLARE_FCNS, must be on SYSPROG as far as I know

- Build your structure and pass to the function

- Hope, reboot loads of times when you get it wrong

If your using the OCX within an OI form and not using a DLL then sorry for the diversion.

Colin

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/f01e638af948bc83852572ce00440cb4.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1