[4304] in sapr3-soft
Calling MTS/DCOM Connector from VC++
daemon@ATHENA.MIT.EDU (Mark Cooper)
Tue Oct 19 16:10:09 1999
To: sapr3-soft@MIT.EDU
Date: 19 Oct 1999 15:09:26 -0500
From: "Mark Cooper" <marktcooper@email.msn.com>(by way of SAP Moderator <sap-request@realtimeusa.com>)
Message-Id: <7uij5m$af@nexus.netconcepts.com>
Anybody doing anything substantial with the DCOM Connector?
I'm having a problem with the DimAs method when the IDL is asking for
VARIANT structures, (rather than VARIANT*).
I receive the HRESULT E_OUTOFMEMORY when I make the call. I'm guessing that
I need to set the VARIANT to VT_DISPATCH and allocate memory to it, (unlike
the VT_EMPTY for the VARIANT*). But of course, I'm only guessing.
Since the IDL defines these methods as [in, out], you should theoretically
need to preallocate the memory in the client and DimAs might be trying to do
this. In order to be sure I would need to see the source for the DataLike
function, (the underlying function in the DimAs method).
Anybody have any insight into this, (or even better, the source code for
DataLike)?
Thanks
-----------------------------------------------------------------------
Mark Cooper
markco@fatbrain.com
------------------------------------------------------------------------