I have a server com+ object to access the data from database. and a
proxy on each client machin to access the remote com+ storage layer.
problem:-
I am getting the garbage data from the function call for 1-2 times and
then a illeagle memory access error after that.
When i install the storage layer locally(client and server are on the
same machine) i got the data right.
i think it is the application proxy error. please guide me..
i am attaching the client sice code:-
int hr = p->GetserverAO()->LoadData(pDB, key, &nDataCount, &pdata);
idl file function entry
[helpstring("method LoadHistory")]
HRESULT LoadHistory([in] const PDCSTR strDbConnectionString, [in]
const int dsk, [out] int* pnDataCount, [out, size_is(,*pnDataCount)]
St_Emp** ppdata);
thanks in advance