DLL Resource Strings with Version Information

The following DLLs must be checked for version information:

To obtain version information, application setup programs must extract two resource strings within each DLL: ProductVersion and FileVersion. These strings contain the following information:

ProductVersion
The string has the following format in both DLLs:

SMS <Major SMS Version>.<Minor SMS Version>(Build <Build No.>)

For example: SMS 1.2(Build 123)

FileVersion
When extracted from BASE.DLL, this string has the following format:

SMS <Major SMS Version>.<Minor SMS Version>.<SDK Build Version>(Build <Build No.>)

For example: SMS 1.2.6(Build 124)

When extracted from versions of SMSAPI.DLL up to and including those shipped with SMS 1.2, this string has the following format:

SMS <Major SMS Version>.<Minor SMS Version>(Build <Build No.>)

For example: SMS 1.2(Build 123)

When extracted from versions of SMSAPI.DLL shipped with the 1.2 SDK (and subsequent releases), this string has the following format:

SMS SDK <Major SMS Version>.<Minor SMS Version>.<SDK Build Version>(<Optional Description Text>)

For example: SMS SDK 1.2.6(Internal Build)

The next section contains sample code to extract these resource strings from the SDK DLLs.