Blade007
asked on
How to use LPDISPATCH *ADODBRecordset
I have the following in my cpp file and is created in my idl file...
idl - STDMETHOD(StartReformatPro cess)(/*[i n]*/ int skip, /*[in]*/ int iloop,/*[in]*/ LPDISPATCH *ADODBRecordset, /*[out]*/ int *errorNo);
cpp - STDMETHODIMP CReformatter::StartReforma tProcess(i nt 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.
Thanks,
Blade
idl - STDMETHOD(StartReformatPro
cpp - STDMETHODIMP CReformatter::StartReforma
{
//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.
Thanks,
Blade
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
leave a recommendation in the Cleanup topic area that this question is:
Answered: Points to AnaNachesa
Please leave any comments here within the next seven days.
Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (https://www.experts-exchange.com/help.jsp#hi73).
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
-bcl (bcladd)
EE Cleanup Volunteer