VR-Link API Documentation for DIS
vlRtiCompilerCheck.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2013 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #ifndef vlRtiCompilerCheck_h__
7 #define vlRtiCompilerCheck_h__
8 #ifdef _WIN32
9 
10 #ifdef DtUSE_UTILITIES_NAMESPACE
11 namespace DtUSE_UTILITIES_NAMESPACE
12 {
13 #endif
14 
15 #include "vlUtil.h"
16 class DtString;
17 class DtFilename;
18 
19 // MSVC++ 11.0 _MSC_VER = 1700 (Visual Studio 2012)
20 // MSVC++ 10.0 _MSC_VER = 1600 (Visual Studio 2010)
21 // MSVC++ 9.0 _MSC_VER = 1500 (Visual Studio 2008)
22 // MSVC++ 8.0 _MSC_VER = 1400 (Visual Studio 2005)
23 // MSVC++ 7.1 _MSC_VER = 1310 (Visual Studio 2003)
24 // MSVC++ 7.0 _MSC_VER = 1300
25 // MSVC++ 6.0 _MSC_VER = 1200
26 // MSVC++ 5.0 _MSC_VER = 1100
27 
28 
29 #if _MSC_VER == 1310
30 #define MAJOR_VER 7
31 #define MINOR_VER 10
32 #define MSVC_VER "VC7"
33 #elif _MSC_VER == 1400
34 #define MAJOR_VER 8
35 #define MINOR_VER 0
36 #define MSVC_VER "VC8"
37 #elif _MSC_VER == 1500
38 #define MAJOR_VER 9
39 #define MINOR_VER 0
40 #define MSVC_VER "VC9"
41 #elif _MSC_VER == 1600
42 #define MAJOR_VER 10
43 #define MINOR_VER 0
44 #define MSVC_VER "VC10"
45 #elif _MSC_VER == 1700
46 #define MAJOR_VER 11
47 #define MINOR_VER 0
48 #define MSVC_VER "VC11"
49 #else
50 #define MAJOR_VER 0
51 #define MINOR_VER 0
52 #define MSVC_VER "VC?"
53 #endif
54 
55 enum DtHLALib { DtHLA13, DtHLA1516, DtHLA1516e };
56 enum DtArchitecture { Dt32Bit, Dt64Bit };
57 
59 DT_DLL_VLUTIL bool checkRtiCompilerVersion(DtHLALib hlaLib, DtString& status);
60 
61 
64 DT_DLL_VLUTIL DtFilename DtSearchPathList( const DtFilename& libName,
65  const DtString& searchPath);
66 
69 DT_DLL_VLUTIL DtFilename DtLibPath(const DtString& libName);
70 
71 
72 #ifdef DtUSE_UTILITIES_NAMESPACE
73 }
74 #endif
75 
76 #endif // _WIN32
77 #endif // vlRtiCompilerCheck_h__

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)