Learning miscellaneous

xiaoxiao2021-03-06  83

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.

转载请注明原文地址:https://www.9cbs.com/read-108092.html

New Post(0)