DI-Guy SDK Documentation
13.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
diguy_sxs_version_vc9.h
Go to the documentation of this file.
1
2
/*
3
* VC9 (no SP) AKA Microsoft Visual C++ 2008 (no SP)
4
*/
5
6
/*
7
* These sxs include files are needed because of Visual C++'s extremely
8
* painful side-by-side (sxs) C runtime library version management. VC++
9
* embeds into dlls and exes which version of the C runtime libraries (CRT)
10
* should be used, and by default this is based on the most recent
11
* version/service-pack of VC++ that has been installed. However there are
12
* many times that customers and partners, and even BDI employees, may not
13
* have that version installed or not have the appropriate CRT libs
14
* installed, and our software will therefore not run on their systems.
15
*
16
* To fix this we need to tell our dlls and exes to be compatible with the
17
* older versions of the CRT, and use more up-to-date ones if available.
18
* One way to do this is to include a header file in every single .c/.cpp
19
* file that specifies which version of the CRT to use. Obviously this is
20
* completely impractical. However, the VC++ compiler has a flag that says
21
* "include this header", which we set any time cl.exe is run.
22
*/
23
24
#ifndef __midl
25
#define _SXS_ASSEMBLY_VERSION "9.0.21022.8"
26
#define _CRT_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
27
#define _MFC_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
28
#define _ATL_ASSEMBLY_VERSION _SXS_ASSEMBLY_VERSION
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
__declspec
(selectany)
int
_forceCRTManifestCUR;
34
__declspec
(selectany)
int
_forceMFCManifestCUR;
35
__declspec
(selectany)
int
_forceAtlDllManifestCUR;
36
__declspec
(selectany)
int
_forceCRTManifestRTM;
37
__declspec
(selectany)
int
_forceMFCManifestRTM;
38
__declspec
(selectany)
int
_forceAtlDllManifestRTM;
39
#ifdef __cplusplus
40
}
41
#endif
42
#endif
__declspec
__declspec(selectany) int _forceCRTManifestCUR
include
diguy_sxs_version_vc9.h
Generated on Thu Dec 29 2016 13:31:40 for DI-Guy SDK Documentation by
1.8.9.1