How to make a COM prototype for excepting a recordset
Posted on 2003-03-04
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.