I kepp getting the same error and don't know how to proceed.
We're testing the COM extension in IVF to exchange data with C#. We created a simple COM server with 2 classes - Node and NodeList. The Node class has 2 real variables x, y with methods enabling to set/get their values. The NodeList class has a simple list of Node objects, having two methods AddNode(NodeList,Node) and GetNode(NodeList,Node), each of them setting and getting a Node-Object in/from the list.
In Fortran, I successfully create NodeList and Node objects by calling COMCreateObjectByGUID. Setting and getting x and y valuesin Node-Object by calling functions generated by the IVF wizzard works ok. However, the AddNode function returns a non-zero result (-2147467259).
I've tried to set a pointer on an interface different than the one created by the IVF-Wizzard (IID_INode) by calling COMQueryInterface, but without success. I've tried IID_IDispatch, IID_IUnknown. What is wrong? We trei the server with C# and Delphi and it works ok.
I also found an actaul post with a similar problem: http://software.intel.com/en-us/forums/topic/340629. Does this mean, that using object pointers as arguments in COM functions (beside the pointer of the objects containing the function itself) does not work with IVF?