How to use LPDISPATCH *ADODBRecordset
Posted on 2003-03-10
I have the following in my cpp file and is created in my idl file...
idl - STDMETHOD(StartReformatProcess)(/*[in]*/ int skip, /*[in]*/ int iloop,/*[in]*/ LPDISPATCH *ADODBRecordset, /*[out]*/ int *errorNo);
cpp - STDMETHODIMP CReformatter::StartReformatProcess(int skip, int iloop, LPDISPATCH *ADODBRecordset, int *errorNo)
//How would i access the recordset that was passed to me.
I guess my question here is "how would I access the recordset from the LPDISPATCH declaration. I have a VB dll passing it into my VC++ dll... I know that the VB DLL is able to pass it... but I don't know how to use LPDISPATCH to get the recordset information.. can some one please help me out by giving my some examples.