Static member functions in C cannot be inline
In the VC, use the connectionless recordset
It should be like this:
_Recordptr RS;
HRESULT HR;
HR = rs.createInstance (__ uuidof (recordset);
IF (S_OK == HR)
Rs.open (VTMissing, VTMissing, AdoPenStatic,
Adlockbatchoptimistic, adcmdtable;
Specify in the Open method, the first two parameters are VTMissing.