Disconnected Recordsets problem
-
Hi All, I have a problem with disconnected recordsets.I have a component.One if it's function will get selected Records in a Database.I am passing the Recordset pointer from the server to the Client.I am using disconnected recordsets for this. I can see that at the server side I am getting the Recordset pointer.But, I could not get this pointer on the client side. the function has the protoype STDMETHODIMP GetSpecificElements([in]struct filterData, [out] IUnknown **ppRecordset); //filterData is a structure containing the Filter Conditions for getting selected Records from Database . I could get the Recordset pointer at the server side, but could not pass it to client.I am using Client side cursor(adUseClient) and standard Marshaling.I am using some user defined classes inside this function to Open Database and get the Recordset Pointer .I could get the Recordset Pointer inside these classes , but failed to get this pointer from this function to client .Does the Disconnected Recordsets vary between ADO and ADOX ? what could be the problem ? Thanx in advance for the help. Regards, yamini