Link to home
Start Free TrialLog in
Avatar of Blade007
Blade007

asked on

How to make a COM prototype for excepting a recordset

Hi everyone.. I'm trying to except a recordset from a vb app from my C++ COM DLL

I have the following declaration in my IDL file

[id(3), helpstring("method testting2")] HRESULT testting2([in] int skip,[in] _RecordsetPtr rec, [out] int *claim, [out] int *multi, [out] int *bypass, [out] int *total);

I get the following error... C:\BCBSM\DLL Development\test\test.idl(31) : error MIDL2025 : syntax error : expecting a type specification near "_RecordsetPtr"

I want to be able to use this rec set in my C++ COM DLL... does anyone know how to do this??? to make it simple.. the VB App is sending me a recordset containing information... I would like to store this recordset and use it in my COM DLL.

please help

Thanks,

Blade007
ASKER CERTIFIED SOLUTION
Avatar of elcapitan
elcapitan

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 elcapitan: Grade B

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