Link to home
Start Free TrialLog in
Avatar of Blade007
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(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.

Thanks,

Blade
ASKER CERTIFIED SOLUTION
Avatar of AnnaNachesa
AnnaNachesa

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bcladd
bcladd

No comment has been added lately, so it's time to clean up this TA. I will
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