Version Property

See Also   Applies To

Syntax

CStringGetVersion(VOID);

Remarks

The return value is a version number, formatted as follows.

In a Microsoft Jet workspace, the Version property of a CdbDatabase object corresponds to a version of the Microsoft Jet database engine, and doesn’t necessarily match the version number of the Microsoft product with which the database engine was included. For example, the Version property of a CdbDatabase object created with Microsoft Visual Basic 3.0 will be 1.1, not 3.0.

The following table shows which version of the database engine was included with various versions of Microsoft products.

Microsoft Jet Version (year released) Microsoft Access Microsoft Visual Basic Microsoft Excel Microsoft Visual C++
1.0 (1992) 1.0 N/A N/A N/A
1.1 (1993) 1.1 3.0 N/A N/A
2.0 (1994) 2.0 N/A N/A N/A
2.5 (1995) N/A 4.0 (16-bit) N/A N/A
3.0 (1995) ‘95 (7.0) 4.0 (32-bit) ‘95 (7.0) 4.x
3.5 (1996) ‘97 (8.0) 5.0 ‘97 (8.0) 5.0