Also I'd be curious to see how you're building that routine. It appears to be a routine to call stored procedures right? Thanks! Richard --------------------------- Richard Caetano richard@caetano.com http://www.caetano.com/richard
R
Richard Caetano
@Richard Caetano
Posts
-
COM IDL -
COM IDLWilliam, This should work for ya: HRESULT RunSPReturnRS( [in] BSTR sDSN, [in] BSTR sSP, [in, out] SAFEARRAY(VARIANT)* params, [out, retval] _Recordset** ); You will also have to include the ADODB type library to compile in MIDL: importlib("msado21.tlb"); Hope this helps :) Richard Caetano http://www.caetano.com/richard --------------------------- Richard Caetano richard@caetano.com http://www.caetano.com/richard