Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

com+ data retrival error

0 views
Skip to first unread message

Gaurav

unread,
May 11, 2008, 3:32:55 PM5/11/08
to
Hi,

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

0 new messages