CDB: Add nagging about old version of Debugging Tools.

Add utility to figure out DLL/Product versions.
This commit is contained in:
Friedemann Kleint
2009-10-09 17:33:24 +02:00
parent 8e6d25d14a
commit 162be9a338
4 changed files with 104 additions and 6 deletions

View File

@@ -42,5 +42,10 @@ namespace Utils {
// code as returned by the GetLastError()-API.
QTCREATOR_UTILS_EXPORT QString winErrorMessage(unsigned long error);
// Determine a DLL version
enum WinDLLVersionType { WinDLLFileVersion, WinDLLProductVersion };
QTCREATOR_UTILS_EXPORT QString winGetDLLVersion(WinDLLVersionType t,
const QString &name,
QString *errorMessage);
} // namespace Utils
#endif // WINUTILS_H