This example checks the version number of the Microsoft Jet database engine and splits it into the version number and release number. The example doesn't check for an invalid string.
CdbDBEngine dbeng;
CString strJetRelease;
strJetRelease = dbeng.GetVersion();
...