1diff -urp misc/Python-2.7.18/PC/VS9.0/_bsddb.vcproj misc/build/Python-2.7.18/PC/VS9.0/_bsddb.vcproj
2--- misc/Python-2.7.18/PC/VS9.0/_bsddb.vcproj	2017-09-16 12:38:35.000000000 -0500
3+++ misc/build/Python-2.7.18/PC/VS9.0/_bsddb.vcproj	2017-10-21 17:56:40.218589000 -0500
4@@ -56,6 +56,7 @@
5 			/>
6 			<Tool
7 				Name="VCLinkerTool"
8+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
9 				AdditionalDependencies="$(bsddbDepLibs)"
10 				BaseAddress="0x1e180000"
11 			/>
12@@ -120,6 +121,7 @@
13 			/>
14 			<Tool
15 				Name="VCLinkerTool"
16+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
17 				AdditionalDependencies="$(bsddbDepLibs)"
18 				BaseAddress="0x1e180000"
19 			/>
20@@ -183,6 +185,7 @@
21 			/>
22 			<Tool
23 				Name="VCLinkerTool"
24+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
25 				AdditionalDependencies="$(bsddbDepLibs)"
26 				BaseAddress="0x1e180000"
27 			/>
28@@ -248,6 +251,7 @@
29 			/>
30 			<Tool
31 				Name="VCLinkerTool"
32+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
33 				AdditionalDependencies="$(bsddbDepLibs)"
34 				BaseAddress="0x1e180000"
35 			/>
36@@ -311,6 +315,7 @@
37 			/>
38 			<Tool
39 				Name="VCLinkerTool"
40+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
41 				AdditionalDependencies="$(bsddbDepLibs)"
42 				BaseAddress="0x1e180000"
43 			/>
44@@ -375,6 +380,7 @@
45 			/>
46 			<Tool
47 				Name="VCLinkerTool"
48+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
49 				AdditionalDependencies="$(bsddbDepLibs)"
50 				BaseAddress="0x1e180000"
51 				TargetMachine="17"
52@@ -439,6 +445,7 @@
53 			/>
54 			<Tool
55 				Name="VCLinkerTool"
56+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
57 				AdditionalDependencies="$(bsddbDepLibs)"
58 				BaseAddress="0x1e180000"
59 			/>
60@@ -503,6 +510,7 @@
61 			/>
62 			<Tool
63 				Name="VCLinkerTool"
64+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
65 				AdditionalDependencies="$(bsddbDepLibs)"
66 				BaseAddress="0x1e180000"
67 				TargetMachine="17"
68diff -urp misc/Python-2.7.18/PC/VS9.0/_ctypes.vcproj misc/build/Python-2.7.18/PC/VS9.0/_ctypes.vcproj
69--- misc/Python-2.7.18/PC/VS9.0/_ctypes.vcproj	2017-09-16 12:38:35.000000000 -0500
70+++ misc/build/Python-2.7.18/PC/VS9.0/_ctypes.vcproj	2017-10-21 17:56:40.219465000 -0500
71@@ -177,7 +177,7 @@
72 			/>
73 			<Tool
74 				Name="VCLinkerTool"
75-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
76+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
77 				SubSystem="0"
78 				BaseAddress="0x1D1A0000"
79 			/>
80@@ -241,7 +241,7 @@
81 			/>
82 			<Tool
83 				Name="VCLinkerTool"
84-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
85+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
86 				SubSystem="0"
87 				BaseAddress="0x1D1A0000"
88 			/>
89@@ -304,7 +304,7 @@
90 			/>
91 			<Tool
92 				Name="VCLinkerTool"
93-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
94+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
95 				SubSystem="0"
96 				BaseAddress="0x1D1A0000"
97 			/>
98@@ -368,7 +368,7 @@
99 			/>
100 			<Tool
101 				Name="VCLinkerTool"
102-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
103+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
104 				SubSystem="0"
105 				BaseAddress="0x1D1A0000"
106 				TargetMachine="17"
107@@ -432,7 +432,7 @@
108 			/>
109 			<Tool
110 				Name="VCLinkerTool"
111-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
112+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
113 				SubSystem="0"
114 				BaseAddress="0x1D1A0000"
115 			/>
116@@ -496,7 +496,7 @@
117 			/>
118 			<Tool
119 				Name="VCLinkerTool"
120-				AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
121+				AdditionalOptions="/DYNAMICBASE /NXCOMPAT /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE"
122 				SubSystem="0"
123 				BaseAddress="0x1D1A0000"
124 				TargetMachine="17"
125diff -urp misc/Python-2.7.18/PC/VS9.0/_ctypes_test.vcproj misc/build/Python-2.7.18/PC/VS9.0/_ctypes_test.vcproj
126--- misc/Python-2.7.18/PC/VS9.0/_ctypes_test.vcproj	2017-09-16 12:38:35.000000000 -0500
127+++ misc/build/Python-2.7.18/PC/VS9.0/_ctypes_test.vcproj	2017-10-21 17:56:40.220226000 -0500
128@@ -54,6 +54,7 @@
129 			/>
130 			<Tool
131 				Name="VCLinkerTool"
132+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
133 			/>
134 			<Tool
135 				Name="VCALinkTool"
136@@ -113,6 +114,7 @@
137 			/>
138 			<Tool
139 				Name="VCLinkerTool"
140+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
141 			/>
142 			<Tool
143 				Name="VCALinkTool"
144@@ -172,6 +174,7 @@
145 			/>
146 			<Tool
147 				Name="VCLinkerTool"
148+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
149 			/>
150 			<Tool
151 				Name="VCALinkTool"
152@@ -232,6 +235,7 @@
153 			/>
154 			<Tool
155 				Name="VCLinkerTool"
156+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
157 			/>
158 			<Tool
159 				Name="VCALinkTool"
160@@ -291,6 +295,7 @@
161 			/>
162 			<Tool
163 				Name="VCLinkerTool"
164+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
165 			/>
166 			<Tool
167 				Name="VCALinkTool"
168@@ -352,6 +357,7 @@
169 			<Tool
170 				Name="VCLinkerTool"
171 				TargetMachine="17"
172+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
173 			/>
174 			<Tool
175 				Name="VCALinkTool"
176@@ -411,6 +417,7 @@
177 			/>
178 			<Tool
179 				Name="VCLinkerTool"
180+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
181 			/>
182 			<Tool
183 				Name="VCALinkTool"
184@@ -472,6 +479,7 @@
185 			<Tool
186 				Name="VCLinkerTool"
187 				TargetMachine="17"
188+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
189 			/>
190 			<Tool
191 				Name="VCALinkTool"
192diff -urp misc/Python-2.7.18/PC/VS9.0/_elementtree.vcproj misc/build/Python-2.7.18/PC/VS9.0/_elementtree.vcproj
193--- misc/Python-2.7.18/PC/VS9.0/_elementtree.vcproj	2017-09-16 12:38:35.000000000 -0500
194+++ misc/build/Python-2.7.18/PC/VS9.0/_elementtree.vcproj	2017-10-21 17:56:40.221003000 -0500
195@@ -57,6 +57,7 @@
196 			<Tool
197 				Name="VCLinkerTool"
198 				BaseAddress="0x1D100000"
199+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
200 			/>
201 			<Tool
202 				Name="VCALinkTool"
203@@ -119,6 +120,7 @@
204 			<Tool
205 				Name="VCLinkerTool"
206 				BaseAddress="0x1D100000"
207+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
208 			/>
209 			<Tool
210 				Name="VCALinkTool"
211@@ -181,6 +183,7 @@
212 			<Tool
213 				Name="VCLinkerTool"
214 				BaseAddress="0x1D100000"
215+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
216 			/>
217 			<Tool
218 				Name="VCALinkTool"
219@@ -244,6 +247,7 @@
220 			<Tool
221 				Name="VCLinkerTool"
222 				BaseAddress="0x1D100000"
223+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
224 			/>
225 			<Tool
226 				Name="VCALinkTool"
227@@ -306,6 +310,7 @@
228 			<Tool
229 				Name="VCLinkerTool"
230 				BaseAddress="0x1D100000"
231+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
232 			/>
233 			<Tool
234 				Name="VCALinkTool"
235@@ -370,6 +375,7 @@
236 				Name="VCLinkerTool"
237 				BaseAddress="0x1D100000"
238 				TargetMachine="17"
239+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
240 			/>
241 			<Tool
242 				Name="VCALinkTool"
243@@ -432,6 +438,7 @@
244 			<Tool
245 				Name="VCLinkerTool"
246 				BaseAddress="0x1D100000"
247+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
248 			/>
249 			<Tool
250 				Name="VCALinkTool"
251@@ -496,6 +503,7 @@
252 				Name="VCLinkerTool"
253 				BaseAddress="0x1D100000"
254 				TargetMachine="17"
255+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
256 			/>
257 			<Tool
258 				Name="VCALinkTool"
259diff -urp misc/Python-2.7.18/PC/VS9.0/_hashlib.vcproj misc/build/Python-2.7.18/PC/VS9.0/_hashlib.vcproj
260--- misc/Python-2.7.18/PC/VS9.0/_hashlib.vcproj	2017-09-16 12:38:35.000000000 -0500
261+++ misc/build/Python-2.7.18/PC/VS9.0/_hashlib.vcproj	2017-10-21 17:56:40.222221000 -0500
262@@ -58,6 +58,7 @@
263 			<Tool
264 				Name="VCLinkerTool"
265 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
266+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
267 			/>
268 			<Tool
269 				Name="VCALinkTool"
270@@ -121,6 +122,7 @@
271 			<Tool
272 				Name="VCLinkerTool"
273 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
274+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
275 			/>
276 			<Tool
277 				Name="VCALinkTool"
278@@ -184,6 +186,7 @@
279 			<Tool
280 				Name="VCLinkerTool"
281 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
282+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
283 			/>
284 			<Tool
285 				Name="VCALinkTool"
286@@ -248,6 +251,7 @@
287 			<Tool
288 				Name="VCLinkerTool"
289 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
290+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
291 			/>
292 			<Tool
293 				Name="VCALinkTool"
294@@ -311,6 +315,7 @@
295 			<Tool
296 				Name="VCLinkerTool"
297 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
298+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
299 			/>
300 			<Tool
301 				Name="VCALinkTool"
302@@ -376,6 +381,7 @@
303 				Name="VCLinkerTool"
304 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
305 				TargetMachine="17"
306+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
307 			/>
308 			<Tool
309 				Name="VCALinkTool"
310@@ -439,6 +445,7 @@
311 			<Tool
312 				Name="VCLinkerTool"
313 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
314+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
315 			/>
316 			<Tool
317 				Name="VCALinkTool"
318@@ -504,6 +511,7 @@
319 				Name="VCLinkerTool"
320 				AdditionalDependencies="ws2_32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
321 				TargetMachine="17"
322+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
323 			/>
324 			<Tool
325 				Name="VCALinkTool"
326diff -urp misc/Python-2.7.18/PC/VS9.0/_msi.vcproj misc/build/Python-2.7.18/PC/VS9.0/_msi.vcproj
327--- misc/Python-2.7.18/PC/VS9.0/_msi.vcproj	2017-09-16 12:38:35.000000000 -0500
328+++ misc/build/Python-2.7.18/PC/VS9.0/_msi.vcproj	2017-10-21 17:56:40.223291000 -0500
329@@ -56,6 +56,7 @@
330 				Name="VCLinkerTool"
331 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
332 				BaseAddress="0x1D160000"
333+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
334 			/>
335 			<Tool
336 				Name="VCALinkTool"
337@@ -117,6 +118,7 @@
338 				Name="VCLinkerTool"
339 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
340 				BaseAddress="0x1D160000"
341+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
342 			/>
343 			<Tool
344 				Name="VCALinkTool"
345@@ -178,6 +180,7 @@
346 				Name="VCLinkerTool"
347 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
348 				BaseAddress="0x1D160000"
349+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
350 			/>
351 			<Tool
352 				Name="VCALinkTool"
353@@ -240,6 +243,7 @@
354 				Name="VCLinkerTool"
355 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
356 				BaseAddress="0x1D160000"
357+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
358 			/>
359 			<Tool
360 				Name="VCALinkTool"
361@@ -301,6 +305,7 @@
362 				Name="VCLinkerTool"
363 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
364 				BaseAddress="0x1D160000"
365+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
366 			/>
367 			<Tool
368 				Name="VCALinkTool"
369@@ -364,6 +369,7 @@
370 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
371 				BaseAddress="0x1D160000"
372 				TargetMachine="17"
373+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
374 			/>
375 			<Tool
376 				Name="VCALinkTool"
377@@ -425,6 +431,7 @@
378 				Name="VCLinkerTool"
379 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
380 				BaseAddress="0x1D160000"
381+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
382 			/>
383 			<Tool
384 				Name="VCALinkTool"
385@@ -488,6 +495,7 @@
386 				AdditionalDependencies="fci.lib msi.lib rpcrt4.lib"
387 				BaseAddress="0x1D160000"
388 				TargetMachine="17"
389+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
390 			/>
391 			<Tool
392 				Name="VCALinkTool"
393diff -urp misc/Python-2.7.18/PC/VS9.0/_multiprocessing.vcproj misc/build/Python-2.7.18/PC/VS9.0/_multiprocessing.vcproj
394--- misc/Python-2.7.18/PC/VS9.0/_multiprocessing.vcproj	2017-09-16 12:38:35.000000000 -0500
395+++ misc/build/Python-2.7.18/PC/VS9.0/_multiprocessing.vcproj	2017-10-21 17:56:40.224316000 -0500
396@@ -56,6 +56,7 @@
397 				Name="VCLinkerTool"
398 				AdditionalDependencies="ws2_32.lib"
399 				BaseAddress="0x1e1D0000"
400+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
401 			/>
402 			<Tool
403 				Name="VCALinkTool"
404@@ -117,6 +118,7 @@
405 				Name="VCLinkerTool"
406 				AdditionalDependencies="ws2_32.lib"
407 				BaseAddress="0x1e1D0000"
408+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
409 			/>
410 			<Tool
411 				Name="VCALinkTool"
412@@ -178,6 +180,7 @@
413 				Name="VCLinkerTool"
414 				AdditionalDependencies="ws2_32.lib"
415 				BaseAddress="0x1e1D0000"
416+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
417 			/>
418 			<Tool
419 				Name="VCALinkTool"
420@@ -240,6 +243,7 @@
421 				Name="VCLinkerTool"
422 				AdditionalDependencies="ws2_32.lib"
423 				BaseAddress="0x1e1D0000"
424+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
425 			/>
426 			<Tool
427 				Name="VCALinkTool"
428@@ -301,6 +305,7 @@
429 				Name="VCLinkerTool"
430 				AdditionalDependencies="ws2_32.lib"
431 				BaseAddress="0x1e1D0000"
432+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
433 			/>
434 			<Tool
435 				Name="VCALinkTool"
436@@ -364,6 +369,7 @@
437 				AdditionalDependencies="ws2_32.lib"
438 				BaseAddress="0x1e1D0000"
439 				TargetMachine="17"
440+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
441 			/>
442 			<Tool
443 				Name="VCALinkTool"
444@@ -425,6 +431,7 @@
445 				Name="VCLinkerTool"
446 				AdditionalDependencies="ws2_32.lib"
447 				BaseAddress="0x1e1D0000"
448+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
449 			/>
450 			<Tool
451 				Name="VCALinkTool"
452@@ -488,6 +495,7 @@
453 				AdditionalDependencies="ws2_32.lib"
454 				BaseAddress="0x1e1D0000"
455 				TargetMachine="17"
456+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
457 			/>
458 			<Tool
459 				Name="VCALinkTool"
460diff -urp misc/Python-2.7.18/PC/VS9.0/_socket.vcproj misc/build/Python-2.7.18/PC/VS9.0/_socket.vcproj
461--- misc/Python-2.7.18/PC/VS9.0/_socket.vcproj	2017-09-16 12:38:35.000000000 -0500
462+++ misc/build/Python-2.7.18/PC/VS9.0/_socket.vcproj	2017-10-21 17:56:40.225407000 -0500
463@@ -56,6 +56,7 @@
464 				Name="VCLinkerTool"
465 				AdditionalDependencies="ws2_32.lib"
466 				BaseAddress="0x1e1D0000"
467+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
468 			/>
469 			<Tool
470 				Name="VCALinkTool"
471@@ -117,6 +118,7 @@
472 				Name="VCLinkerTool"
473 				AdditionalDependencies="ws2_32.lib"
474 				BaseAddress="0x1e1D0000"
475+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
476 			/>
477 			<Tool
478 				Name="VCALinkTool"
479@@ -178,6 +180,7 @@
480 				Name="VCLinkerTool"
481 				AdditionalDependencies="ws2_32.lib"
482 				BaseAddress="0x1e1D0000"
483+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
484 			/>
485 			<Tool
486 				Name="VCALinkTool"
487@@ -240,6 +243,7 @@
488 				Name="VCLinkerTool"
489 				AdditionalDependencies="ws2_32.lib"
490 				BaseAddress="0x1e1D0000"
491+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
492 			/>
493 			<Tool
494 				Name="VCALinkTool"
495@@ -301,6 +305,7 @@
496 				Name="VCLinkerTool"
497 				AdditionalDependencies="ws2_32.lib"
498 				BaseAddress="0x1e1D0000"
499+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
500 			/>
501 			<Tool
502 				Name="VCALinkTool"
503@@ -364,6 +369,7 @@
504 				AdditionalDependencies="ws2_32.lib"
505 				BaseAddress="0x1e1D0000"
506 				TargetMachine="17"
507+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
508 			/>
509 			<Tool
510 				Name="VCALinkTool"
511@@ -425,6 +431,7 @@
512 				Name="VCLinkerTool"
513 				AdditionalDependencies="ws2_32.lib"
514 				BaseAddress="0x1e1D0000"
515+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
516 			/>
517 			<Tool
518 				Name="VCALinkTool"
519@@ -488,6 +495,7 @@
520 				AdditionalDependencies="ws2_32.lib"
521 				BaseAddress="0x1e1D0000"
522 				TargetMachine="17"
523+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
524 			/>
525 			<Tool
526 				Name="VCALinkTool"
527diff -urp misc/Python-2.7.18/PC/VS9.0/_sqlite3.vcproj misc/build/Python-2.7.18/PC/VS9.0/_sqlite3.vcproj
528--- misc/Python-2.7.18/PC/VS9.0/_sqlite3.vcproj	2017-09-16 12:38:35.000000000 -0500
529+++ misc/build/Python-2.7.18/PC/VS9.0/_sqlite3.vcproj	2017-10-21 17:56:40.226403000 -0500
530@@ -57,6 +57,7 @@
531 			<Tool
532 				Name="VCLinkerTool"
533 				BaseAddress="0x1e180000"
534+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
535 			/>
536 			<Tool
537 				Name="VCALinkTool"
538@@ -119,6 +120,7 @@
539 			<Tool
540 				Name="VCLinkerTool"
541 				BaseAddress="0x1e180000"
542+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
543 			/>
544 			<Tool
545 				Name="VCALinkTool"
546@@ -181,6 +183,7 @@
547 			<Tool
548 				Name="VCLinkerTool"
549 				BaseAddress="0x1e180000"
550+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
551 			/>
552 			<Tool
553 				Name="VCALinkTool"
554@@ -244,6 +247,7 @@
555 			<Tool
556 				Name="VCLinkerTool"
557 				BaseAddress="0x1e180000"
558+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
559 			/>
560 			<Tool
561 				Name="VCALinkTool"
562@@ -306,6 +310,7 @@
563 			<Tool
564 				Name="VCLinkerTool"
565 				BaseAddress="0x1e180000"
566+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
567 			/>
568 			<Tool
569 				Name="VCALinkTool"
570@@ -370,6 +375,7 @@
571 				Name="VCLinkerTool"
572 				BaseAddress="0x1e180000"
573 				TargetMachine="17"
574+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
575 			/>
576 			<Tool
577 				Name="VCALinkTool"
578@@ -432,6 +438,7 @@
579 			<Tool
580 				Name="VCLinkerTool"
581 				BaseAddress="0x1e180000"
582+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
583 			/>
584 			<Tool
585 				Name="VCALinkTool"
586@@ -496,6 +503,7 @@
587 				Name="VCLinkerTool"
588 				BaseAddress="0x1e180000"
589 				TargetMachine="17"
590+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
591 			/>
592 			<Tool
593 				Name="VCALinkTool"
594diff -urp misc/Python-2.7.18/PC/VS9.0/_ssl.vcproj misc/build/Python-2.7.18/PC/VS9.0/_ssl.vcproj
595--- misc/Python-2.7.18/PC/VS9.0/_ssl.vcproj	2017-09-16 12:38:35.000000000 -0500
596+++ misc/build/Python-2.7.18/PC/VS9.0/_ssl.vcproj	2017-10-21 17:56:40.227504000 -0500
597@@ -43,7 +43,7 @@
598 			/>
599 			<Tool
600 				Name="VCCLCompilerTool"
601-				AdditionalIncludeDirectories="$(opensslDir)\include32"
602+				AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\external"
603 			/>
604 			<Tool
605 				Name="VCManagedResourceCompilerTool"
606@@ -57,7 +57,8 @@
607 			/>
608 			<Tool
609 				Name="VCLinkerTool"
610-				AdditionalDependencies="ws2_32.lib crypt32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
611+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
612+				AdditionalDependencies="ws2_32.lib crypt32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\libeay32.lib"
613 			/>
614 			<Tool
615 				Name="VCALinkTool"
616@@ -106,7 +107,7 @@
617 			/>
618 			<Tool
619 				Name="VCCLCompilerTool"
620-				AdditionalIncludeDirectories="$(opensslDir)\include64"
621+				AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\external"
622 			/>
623 			<Tool
624 				Name="VCManagedResourceCompilerTool"
625@@ -120,7 +121,8 @@
626 			/>
627 			<Tool
628 				Name="VCLinkerTool"
629-				AdditionalDependencies="ws2_32.lib crypt32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
630+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
631+				AdditionalDependencies="ws2_32.lib crypt32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\libeay32.lib"
632 			/>
633 			<Tool
634 				Name="VCALinkTool"
635@@ -169,7 +171,7 @@
636 			/>
637 			<Tool
638 				Name="VCCLCompilerTool"
639-				AdditionalIncludeDirectories="$(opensslDir)\include32"
640+				AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\external"
641 			/>
642 			<Tool
643 				Name="VCManagedResourceCompilerTool"
644@@ -183,7 +185,8 @@
645 			/>
646 			<Tool
647 				Name="VCLinkerTool"
648-				AdditionalDependencies="ws2_32.lib crypt32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
649+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
650+				AdditionalDependencies="ws2_32.lib crypt32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
651 			/>
652 			<Tool
653 				Name="VCALinkTool"
654@@ -233,7 +236,7 @@
655 			/>
656 			<Tool
657 				Name="VCCLCompilerTool"
658-				AdditionalIncludeDirectories="$(opensslDir)\include64"
659+				AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\external"
660 			/>
661 			<Tool
662 				Name="VCManagedResourceCompilerTool"
663@@ -247,7 +250,8 @@
664 			/>
665 			<Tool
666 				Name="VCLinkerTool"
667-				AdditionalDependencies="ws2_32.lib crypt32.lib $(opensslDir)\out64\libeay32.lib $(opensslDir)\out64\ssleay32.lib"
668+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
668
669+				AdditionalDependencies="ws2_32.lib crypt32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\libeay32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\ssleay32.lib"
670 			/>
671 			<Tool
672 				Name="VCALinkTool"
673@@ -296,7 +300,7 @@
674 			/>
675 			<Tool
676 				Name="VCCLCompilerTool"
677-				AdditionalIncludeDirectories="$(opensslDir)\include32"
678+				AdditionalIncludeDirectories="$(SOLARVERSION)\$(INPATH)\inc$(UPDMINOREXT)\external"
679 			/>
680 			<Tool
681 				Name="VCManagedResourceCompilerTool"
682@@ -310,7 +314,8 @@
683 			/>
684 			<Tool
685 				Name="VCLinkerTool"
686-				AdditionalDependencies="ws2_32.lib crypt32.lib $(opensslDir)\out32\libeay32.lib $(opensslDir)\out32\ssleay32.lib"
687+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
688+				AdditionalDependencies="ws2_32.lib crypt32.lib $(SOLARVER)\$(INPATH)\lib$(UPDMINOREXT)\libeay32.lib"
689 			/>
690 			<Tool
691 				Name="VCALinkTool"
692diff -urp misc/Python-2.7.18/PC/VS9.0/_testcapi.vcproj misc/build/Python-2.7.18/PC/VS9.0/_testcapi.vcproj
693--- misc/Python-2.7.18/PC/VS9.0/_testcapi.vcproj	2017-09-16 12:38:35.000000000 -0500
694+++ misc/build/Python-2.7.18/PC/VS9.0/_testcapi.vcproj	2017-10-21 17:56:40.228516000 -0500
695@@ -55,6 +55,7 @@
696 			<Tool
697 				Name="VCLinkerTool"
698 				BaseAddress="0x1e1F0000"
699+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
700 			/>
701 			<Tool
702 				Name="VCALinkTool"
703@@ -115,6 +116,7 @@
704 			<Tool
705 				Name="VCLinkerTool"
706 				BaseAddress="0x1e1F0000"
707+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
708 			/>
709 			<Tool
710 				Name="VCALinkTool"
711@@ -175,6 +177,7 @@
712 			<Tool
713 				Name="VCLinkerTool"
714 				BaseAddress="0x1e1F0000"
715+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
716 			/>
717 			<Tool
718 				Name="VCALinkTool"
719@@ -236,6 +239,7 @@
720 			<Tool
721 				Name="VCLinkerTool"
722 				BaseAddress="0x1e1F0000"
723+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
724 			/>
725 			<Tool
726 				Name="VCALinkTool"
727@@ -296,6 +300,7 @@
728 			<Tool
729 				Name="VCLinkerTool"
730 				BaseAddress="0x1e1F0000"
731+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
732 			/>
733 			<Tool
734 				Name="VCALinkTool"
735@@ -358,6 +363,7 @@
736 				Name="VCLinkerTool"
737 				BaseAddress="0x1e1F0000"
738 				TargetMachine="17"
739+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
740 			/>
741 			<Tool
742 				Name="VCALinkTool"
743@@ -418,6 +424,7 @@
744 			<Tool
745 				Name="VCLinkerTool"
746 				BaseAddress="0x1e1F0000"
747+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
748 			/>
749 			<Tool
750 				Name="VCALinkTool"
751@@ -480,6 +487,7 @@
752 				Name="VCLinkerTool"
753 				BaseAddress="0x1e1F0000"
754 				TargetMachine="17"
755+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
756 			/>
757 			<Tool
758 				Name="VCALinkTool"
759diff -urp misc/Python-2.7.18/PC/VS9.0/_tkinter.vcproj misc/build/Python-2.7.18/PC/VS9.0/_tkinter.vcproj
760--- misc/Python-2.7.18/PC/VS9.0/_tkinter.vcproj	2017-09-16 12:38:35.000000000 -0500
761+++ misc/build/Python-2.7.18/PC/VS9.0/_tkinter.vcproj	2017-10-21 17:56:40.229664000 -0500
762@@ -57,6 +57,7 @@
763 			<Tool
764 				Name="VCLinkerTool"
765 				AdditionalDependencies="$(tcltkLibDebug)"
766+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
767 			/>
768 			<Tool
769 				Name="VCALinkTool"
770@@ -119,6 +120,7 @@
771 			<Tool
772 				Name="VCLinkerTool"
773 				AdditionalDependencies="$(tcltk64LibDebug)"
774+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
775 			/>
776 			<Tool
777 				Name="VCALinkTool"
778@@ -181,6 +183,7 @@
779 			<Tool
780 				Name="VCLinkerTool"
781 				AdditionalDependencies="$(tcltkLib)"
782+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
783 			/>
784 			<Tool
785 				Name="VCALinkTool"
786@@ -244,6 +247,7 @@
787 			<Tool
788 				Name="VCLinkerTool"
789 				AdditionalDependencies="$(tcltk64Lib)"
790+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
791 			/>
792 			<Tool
793 				Name="VCALinkTool"
794@@ -306,6 +310,7 @@
795 			<Tool
796 				Name="VCLinkerTool"
797 				AdditionalDependencies="$(tcltkLib)"
798+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
799 			/>
800 			<Tool
801 				Name="VCALinkTool"
802@@ -370,6 +375,7 @@
803 				Name="VCLinkerTool"
804 				AdditionalDependencies="$(tcltk64Lib)"
805 				TargetMachine="17"
806+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
807 			/>
808 			<Tool
809 				Name="VCALinkTool"
810@@ -432,6 +438,7 @@
811 			<Tool
812 				Name="VCLinkerTool"
813 				AdditionalDependencies="$(tcltkLib)"
814+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
815 			/>
816 			<Tool
817 				Name="VCALinkTool"
818@@ -496,6 +503,7 @@
819 				Name="VCLinkerTool"
820 				AdditionalDependencies="$(tcltk64Lib)"
821 				TargetMachine="17"
822+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
823 			/>
824 			<Tool
825 				Name="VCALinkTool"
826diff -urp misc/Python-2.7.18/PC/VS9.0/bdist_wininst.vcproj misc/build/Python-2.7.18/PC/VS9.0/bdist_wininst.vcproj
827--- misc/Python-2.7.18/PC/VS9.0/bdist_wininst.vcproj	2017-09-16 12:38:35.000000000 -0500
828+++ misc/build/Python-2.7.18/PC/VS9.0/bdist_wininst.vcproj	2017-10-21 17:56:40.230806000 -0500
829@@ -81,8 +81,7 @@
830 				IgnoreDefaultLibraryNames="LIBC"
831 				ProgramDatabaseFile="..\..\lib\distutils\command\wininst-9.0.pdb"
832 				SubSystem="2"
833-				RandomizedBaseAddress="1"
834-				DataExecutionPrevention="0"
835+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
836 				TargetMachine="1"
837 			/>
838 			<Tool
839@@ -171,8 +170,7 @@
840 				IgnoreDefaultLibraryNames="LIBC"
841 				ProgramDatabaseFile="..\..\lib\distutils\command\wininst-9.0-amd64.pdb"
842 				SubSystem="2"
843-				RandomizedBaseAddress="1"
844-				DataExecutionPrevention="0"
845+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
846 				TargetMachine="17"
847 			/>
848 			<Tool
849diff -urp misc/Python-2.7.18/PC/VS9.0/bz2.vcproj misc/build/Python-2.7.18/PC/VS9.0/bz2.vcproj
850--- misc/Python-2.7.18/PC/VS9.0/bz2.vcproj	2017-09-16 12:38:35.000000000 -0500
851+++ misc/build/Python-2.7.18/PC/VS9.0/bz2.vcproj	2017-10-21 17:56:40.232092000 -0500
852@@ -57,6 +57,7 @@
853 			<Tool
854 				Name="VCLinkerTool"
855 				BaseAddress="0x1D170000"
856+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
857 			/>
858 			<Tool
859 				Name="VCALinkTool"
860@@ -119,6 +120,7 @@
861 			<Tool
862 				Name="VCLinkerTool"
863 				BaseAddress="0x1D170000"
864+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
865 			/>
866 			<Tool
867 				Name="VCALinkTool"
868@@ -181,6 +183,7 @@
869 			<Tool
870 				Name="VCLinkerTool"
871 				BaseAddress="0x1D170000"
872+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
873 			/>
874 			<Tool
875 				Name="VCALinkTool"
876@@ -244,6 +247,7 @@
877 			<Tool
878 				Name="VCLinkerTool"
879 				BaseAddress="0x1D170000"
880+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
881 			/>
882 			<Tool
883 				Name="VCALinkTool"
884@@ -306,6 +310,7 @@
885 			<Tool
886 				Name="VCLinkerTool"
887 				BaseAddress="0x1D170000"
888+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
889 			/>
890 			<Tool
891 				Name="VCALinkTool"
892@@ -370,6 +375,7 @@
893 				Name="VCLinkerTool"
894 				BaseAddress="0x1D170000"
895 				TargetMachine="17"
896+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
897 			/>
898 			<Tool
899 				Name="VCALinkTool"
900@@ -432,6 +438,7 @@
901 			<Tool
902 				Name="VCLinkerTool"
903 				BaseAddress="0x1D170000"
904+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
905 			/>
906 			<Tool
907 				Name="VCALinkTool"
908@@ -496,6 +503,7 @@
909 				Name="VCLinkerTool"
910 				BaseAddress="0x1D170000"
911 				TargetMachine="17"
912+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
913 			/>
914 			<Tool
915 				Name="VCALinkTool"
916diff -urp misc/Python-2.7.18/PC/VS9.0/kill_python.vcproj misc/build/Python-2.7.18/PC/VS9.0/kill_python.vcproj
917--- misc/Python-2.7.18/PC/VS9.0/kill_python.vcproj	2017-09-16 12:38:35.000000000 -0500
918+++ misc/build/Python-2.7.18/PC/VS9.0/kill_python.vcproj	2017-10-21 17:56:40.233109000 -0500
919@@ -56,6 +56,7 @@
920 				Name="VCLinkerTool"
921 				OutputFile="$(OutDir)\$(ProjectName)_d.exe"
922 				SubSystem="1"
923+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
924 			/>
925 			<Tool
926 				Name="VCALinkTool"
927@@ -117,6 +118,7 @@
928 				Name="VCLinkerTool"
929 				OutputFile="$(OutDir)\$(ProjectName)_d.exe"
930 				SubSystem="1"
931+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
932 			/>
933 			<Tool
934 				Name="VCALinkTool"
935@@ -177,6 +179,7 @@
936 			<Tool
937 				Name="VCLinkerTool"
938 				SubSystem="1"
939+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
940 			/>
941 			<Tool
942 				Name="VCALinkTool"
943@@ -238,6 +241,7 @@
944 			<Tool
945 				Name="VCLinkerTool"
946 				SubSystem="1"
947+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
948 			/>
949 			<Tool
950 				Name="VCALinkTool"
951diff -urp misc/Python-2.7.18/PC/VS9.0/make_buildinfo.vcproj misc/build/Python-2.7.18/PC/VS9.0/make_buildinfo.vcproj
952--- misc/Python-2.7.18/PC/VS9.0/make_buildinfo.vcproj	2017-09-16 12:38:35.000000000 -0500
953+++ misc/build/Python-2.7.18/PC/VS9.0/make_buildinfo.vcproj	2017-10-21 17:56:40.233689000 -0500
954@@ -61,6 +61,7 @@
955 				OutputFile="$(OutDir)/make_buildinfo.exe"
956 				ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
957 				SubSystem="1"
958+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
959 			/>
960 			<Tool
961 				Name="VCALinkTool"
962@@ -119,6 +120,7 @@
963 			/>
964 			<Tool
965 				Name="VCLinkerTool"
966+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
967 			/>
968 			<Tool
969 				Name="VCALinkTool"
970diff -urp misc/Python-2.7.18/PC/VS9.0/make_versioninfo.vcproj misc/build/Python-2.7.18/PC/VS9.0/make_versioninfo.vcproj
971--- misc/Python-2.7.18/PC/VS9.0/make_versioninfo.vcproj	2017-09-16 12:38:35.000000000 -0500
972+++ misc/build/Python-2.7.18/PC/VS9.0/make_versioninfo.vcproj	2017-10-21 17:56:40.234324000 -0500
973@@ -71,6 +71,7 @@
974 				ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
975 				SubSystem="1"
976 				BaseAddress="0x1d000000"
977+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
978 			/>
979 			<Tool
980 				Name="VCALinkTool"
981@@ -137,6 +138,7 @@
982 			<Tool
983 				Name="VCLinkerTool"
984 				OutputFile="$(SolutionDir)make_versioninfo.exe"
985+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
986 			/>
987 			<Tool
988 				Name="VCALinkTool"
989@@ -214,6 +216,7 @@
990 				ProgramDatabaseFile="$(TargetDir)$(TargetName).pdb"
991 				SubSystem="1"
992 				BaseAddress="0x1d000000"
993+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
994 			/>
995 			<Tool
996 				Name="VCALinkTool"
997@@ -282,6 +285,7 @@
998 				Name="VCLinkerTool"
999 				OutputFile="$(SolutionDir)make_versioninfo_d.exe"
1000 				TargetMachine="17"
1001+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1002 			/>
1003 			<Tool
1004 				Name="VCALinkTool"
1005diff -urp misc/Python-2.7.18/PC/VS9.0/pcbuild.sln misc/build/Python-2.7.18/PC/VS9.0/pcbuild.sln
1006--- misc/Python-2.7.18/PC/VS9.0/pcbuild.sln	2017-09-16 12:38:35.000000000 -0500
1007+++ misc/build/Python-2.7.18/PC/VS9.0/pcbuild.sln	2017-10-21 17:56:40.235608000 -0500
1008@@ -38,12 +38,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C9
1009 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1010 	EndProjectSection
1011 EndProject
1012-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_bsddb", "_bsddb.vcproj", "{B4D38F3F-68FB-42EC-A45D-E00657BB3627}"
1013-	ProjectSection(ProjectDependencies) = postProject
1014-		{6DE10744-E396-40A5-B4E2-1B69AA7C8D31} = {6DE10744-E396-40A5-B4E2-1B69AA7C8D31}
1015-		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1016-	EndProjectSection
1017-EndProject
1018+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_bsddb", "_bsddb.vcproj", "{B4D38F3F-68FB-42EC-A45D-E00657BB3627}"
1019+#	ProjectSection(ProjectDependencies) = postProject
1020+#		{6DE10744-E396-40A5-B4E2-1B69AA7C8D31} = {6DE10744-E396-40A5-B4E2-1B69AA7C8D31}
1021+#		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1022+#	EndProjectSection
1023+#EndProject
1024 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_ctypes", "_ctypes.vcproj", "{0E9791DB-593A-465F-98BC-681011311618}"
1025 	ProjectSection(ProjectDependencies) = postProject
1026 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1027@@ -69,12 +69,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C9
1028 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1029 	EndProjectSection
1030 EndProject
1031-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_sqlite3", "_sqlite3.vcproj", "{13CECB97-4119-4316-9D42-8534019A5A44}"
1032-	ProjectSection(ProjectDependencies) = postProject
1033-		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1034-		{A1A295E5-463C-437F-81CA-1F32367685DA} = {A1A295E5-463C-437F-81CA-1F32367685DA}
1035-	EndProjectSection
1036-EndProject
1037+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_sqlite3", "_sqlite3.vcproj", "{13CECB97-4119-4316-9D42-8534019A5A44}"
1038+#	ProjectSection(ProjectDependencies) = postProject
1039+#		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1040+#		{A1A295E5-463C-437F-81CA-1F32367685DA} = {A1A295E5-463C-437F-81CA-1F32367685DA}
1041+#	EndProjectSection
1042+#EndProject
1043 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_ssl", "_ssl.vcproj", "{C6E20F84-3247-4AD6-B051-B073268F73BA}"
1044 	ProjectSection(ProjectDependencies) = postProject
1045 		{B11D750F-CD1F-4A96-85CE-E69A5C5259F9} = {B11D750F-CD1F-4A96-85CE-E69A5C5259F9}
1046@@ -87,16 +87,16 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C9
1047 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1048 	EndProjectSection
1049 EndProject
1050-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_tkinter", "_tkinter.vcproj", "{4946ECAC-2E69-4BF8-A90A-F5136F5094DF}"
1051-	ProjectSection(ProjectDependencies) = postProject
1052-		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1053-	EndProjectSection
1054-EndProject
1055-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bz2", "bz2.vcproj", "{73FCD2BD-F133-46B7-8EC1-144CD82A59D5}"
1056-	ProjectSection(ProjectDependencies) = postProject
1057-		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1058-	EndProjectSection
1059-EndProject
1060+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_tkinter", "_tkinter.vcproj", "{4946ECAC-2E69-4BF8-A90A-F5136F5094DF}"
1061+#	ProjectSection(ProjectDependencies) = postProject
1062+#		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1063+#	EndProjectSection
1064+#EndProject
1065+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bz2", "bz2.vcproj", "{73FCD2BD-F133-46B7-8EC1-144CD82A59D5}"
1066+#	ProjectSection(ProjectDependencies) = postProject
1067+#		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1068+#	EndProjectSection
1069+#EndProject
1070 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "select", "select.vcproj", "{18CAE28C-B454-46C1-87A0-493D91D97F03}"
1071 	ProjectSection(ProjectDependencies) = postProject
1072 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1073@@ -114,17 +114,17 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C9
1074 EndProject
1075 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bdist_wininst", "bdist_wininst.vcproj", "{EB1C19C1-1F18-421E-9735-CAEE69DC6A3C}"
1076 EndProject
1077-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcproj", "{447F05A8-F581-4CAC-A466-5AC7936E207E}"
1078-	ProjectSection(ProjectDependencies) = postProject
1079-		{B11D750F-CD1F-4A96-85CE-E69A5C5259F9} = {B11D750F-CD1F-4A96-85CE-E69A5C5259F9}
1080-		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1081-	EndProjectSection
1082-EndProject
1083-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "sqlite3.vcproj", "{A1A295E5-463C-437F-81CA-1F32367685DA}"
1084-	ProjectSection(ProjectDependencies) = postProject
1085-		{6DE10744-E396-40A5-B4E2-1B69AA7C8D31} = {6DE10744-E396-40A5-B4E2-1B69AA7C8D31}
1086-	EndProjectSection
1087-EndProject
1088+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcproj", "{447F05A8-F581-4CAC-A466-5AC7936E207E}"
1089+#	ProjectSection(ProjectDependencies) = postProject
1090+#		{B11D750F-CD1F-4A96-85CE-E69A5C5259F9} = {B11D750F-CD1F-4A96-85CE-E69A5C5259F9}
1091+#		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1092+#	EndProjectSection
1093+#EndProject
1094+#Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "sqlite3.vcproj", "{A1A295E5-463C-437F-81CA-1F32367685DA}"
1095+#	ProjectSection(ProjectDependencies) = postProject
1096+#		{6DE10744-E396-40A5-B4E2-1B69AA7C8D31} = {6DE10744-E396-40A5-B4E2-1B69AA7C8D31}
1097+#	EndProjectSection
1098+#EndProject
1099 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_multiprocessing", "_multiprocessing.vcproj", "{9E48B300-37D1-11DD-8C41-005056C00008}"
1100 	ProjectSection(ProjectDependencies) = postProject
1101 		{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26} = {CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA26}
1102diff -urp misc/Python-2.7.18/PC/VS9.0/pyexpat.vcproj misc/build/Python-2.7.18/PC/VS9.0/pyexpat.vcproj
1103--- misc/Python-2.7.18/PC/VS9.0/pyexpat.vcproj	2017-09-16 12:38:35.000000000 -0500
1104+++ misc/build/Python-2.7.18/PC/VS9.0/pyexpat.vcproj	2017-10-21 17:56:40.236395000 -0500
1105@@ -56,6 +56,7 @@
1106 			/>
1107 			<Tool
1108 				Name="VCLinkerTool"
1109+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1110 			/>
1111 			<Tool
1112 				Name="VCALinkTool"
1113@@ -117,6 +118,7 @@
1114 			/>
1115 			<Tool
1116 				Name="VCLinkerTool"
1117+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1118 			/>
1119 			<Tool
1120 				Name="VCALinkTool"
1121@@ -178,6 +180,7 @@
1122 			/>
1123 			<Tool
1124 				Name="VCLinkerTool"
1125+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1126 			/>
1127 			<Tool
1128 				Name="VCALinkTool"
1129@@ -240,6 +243,7 @@
1130 			/>
1131 			<Tool
1132 				Name="VCLinkerTool"
1133+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1134 			/>
1135 			<Tool
1136 				Name="VCALinkTool"
1137@@ -301,6 +305,7 @@
1138 			/>
1139 			<Tool
1140 				Name="VCLinkerTool"
1141+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1142 			/>
1143 			<Tool
1144 				Name="VCALinkTool"
1145@@ -364,6 +369,7 @@
1146 			<Tool
1147 				Name="VCLinkerTool"
1148 				TargetMachine="17"
1149+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1150 			/>
1151 			<Tool
1152 				Name="VCALinkTool"
1153@@ -425,6 +431,7 @@
1154 			/>
1155 			<Tool
1156 				Name="VCLinkerTool"
1157+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1158 			/>
1159 			<Tool
1160 				Name="VCALinkTool"
1161@@ -488,6 +495,7 @@
1162 			<Tool
1163 				Name="VCLinkerTool"
1164 				TargetMachine="17"
1165+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1166 			/>
1167 			<Tool
1168 				Name="VCALinkTool"
1169diff -urp misc/Python-2.7.18/PC/VS9.0/python.vcproj misc/build/Python-2.7.18/PC/VS9.0/python.vcproj
1170--- misc/Python-2.7.18/PC/VS9.0/python.vcproj	2017-09-16 12:38:35.000000000 -0500
1171+++ misc/build/Python-2.7.18/PC/VS9.0/python.vcproj	2017-10-21 17:56:40.237211000 -0500
1172@@ -66,6 +66,7 @@
1173 				SubSystem="1"
1174 				StackReserveSize="2000000"
1175 				BaseAddress="0x1d000000"
1176+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1177 			/>
1178 			<Tool
1179 				Name="VCALinkTool"
1180@@ -139,6 +140,7 @@
1181 				SubSystem="1"
1182 				StackReserveSize="2000000"
1183 				BaseAddress="0x1d000000"
1184+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1185 			/>
1186 			<Tool
1187 				Name="VCALinkTool"
1188@@ -213,6 +215,7 @@
1189 				SubSystem="1"
1190 				StackReserveSize="2000000"
1191 				BaseAddress="0x1d000000"
1192+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1193 			/>
1194 			<Tool
1195 				Name="VCALinkTool"
1196@@ -288,6 +291,7 @@
1197 				SubSystem="1"
1198 				StackReserveSize="2100000"
1199 				BaseAddress="0x1d000000"
1200+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1201 			/>
1202 			<Tool
1203 				Name="VCALinkTool"
1204@@ -361,6 +365,7 @@
1205 				StackReserveSize="2000000"
1206 				BaseAddress="0x1d000000"
1207 				ImportLibrary=""
1208+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1209 			/>
1210 			<Tool
1211 				Name="VCALinkTool"
1212@@ -436,6 +441,7 @@
1213 				BaseAddress="0x1d000000"
1214 				ImportLibrary=""
1215 				TargetMachine="17"
1216+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1217 			/>
1218 			<Tool
1219 				Name="VCALinkTool"
1220@@ -509,6 +515,7 @@
1221 				StackReserveSize="2000000"
1222 				BaseAddress="0x1d000000"
1223 				ImportLibrary=""
1224+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1225 			/>
1226 			<Tool
1227 				Name="VCALinkTool"
1228@@ -584,6 +591,7 @@
1229 				BaseAddress="0x1d000000"
1230 				ImportLibrary=""
1231 				TargetMachine="17"
1232+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1233 			/>
1234 			<Tool
1235 				Name="VCALinkTool"
1236diff -urp misc/Python-2.7.18/PC/VS9.0/pythoncore.vcproj misc/build/Python-2.7.18/PC/VS9.0/pythoncore.vcproj
1237--- misc/Python-2.7.18/PC/VS9.0/pythoncore.vcproj	2017-09-16 12:38:35.000000000 -0500
1238+++ misc/build/Python-2.7.18/PC/VS9.0/pythoncore.vcproj	2017-10-21 17:56:40.238551000 -0500
1239@@ -69,6 +69,7 @@
1240 				ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
1241 				BaseAddress="0x1e000000"
1242 				ImportLibrary="$(OutDir)$(PyDllName).lib"
1243+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1244 			/>
1245 			<Tool
1246 				Name="VCALinkTool"
1247@@ -144,6 +145,7 @@
1248 				ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
1249 				BaseAddress="0x1e000000"
1250 				ImportLibrary="$(OutDir)$(PyDllName).lib"
1251+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1252 			/>
1253 			<Tool
1254 				Name="VCALinkTool"
1255@@ -222,6 +224,7 @@
1256 				ProgramDatabaseFile="$(OutDir)$(PyDllName)_d.pdb"
1257 				BaseAddress="0x1e000000"
1258 				ImportLibrary="$(OutDir)$(PyDllName)_d.lib"
1259+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1260 			/>
1261 			<Tool
1262 				Name="VCALinkTool"
1263@@ -300,6 +303,7 @@
1264 				ProgramDatabaseFile="$(OutDir)$(PyDllName)_d.pdb"
1265 				BaseAddress="0x1e000000"
1266 				ImportLibrary="$(OutDir)$(PyDllName)_d.lib"
1267+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1268 			/>
1269 			<Tool
1270 				Name="VCALinkTool"
1271@@ -374,6 +378,7 @@
1272 				ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
1273 				BaseAddress="0x1e000000"
1274 				ImportLibrary="$(OutDirPGI)$(PyDllName).lib"
1275+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1276 			/>
1277 			<Tool
1278 				Name="VCALinkTool"
1279@@ -450,6 +455,7 @@
1280 				BaseAddress="0x1e000000"
1281 				ImportLibrary="$(OutDirPGI)$(PyDllName).lib"
1282 				TargetMachine="17"
1283+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1284 			/>
1285 			<Tool
1286 				Name="VCALinkTool"
1287@@ -524,6 +530,7 @@
1288 				ProgramDatabaseFile="$(OutDir)$(PyDllName).pdb"
1289 				BaseAddress="0x1e000000"
1290 				ImportLibrary="$(OutDirPGI)$(PyDllName).lib"
1291+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1292 			/>
1293 			<Tool
1294 				Name="VCALinkTool"
1295@@ -600,6 +607,7 @@
1296 				BaseAddress="0x1e000000"
1297 				ImportLibrary="$(OutDirPGI)$(PyDllName).lib"
1298 				TargetMachine="17"
1299+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1300 			/>
1301 			<Tool
1302 				Name="VCALinkTool"
1303diff -urp misc/Python-2.7.18/PC/VS9.0/pythonw.vcproj misc/build/Python-2.7.18/PC/VS9.0/pythonw.vcproj
1304--- misc/Python-2.7.18/PC/VS9.0/pythonw.vcproj	2017-09-16 12:38:35.000000000 -0500
1305+++ misc/build/Python-2.7.18/PC/VS9.0/pythonw.vcproj	2017-10-21 17:56:40.239382000 -0500
1306@@ -66,6 +66,7 @@
1307 				StackReserveSize="2000000"
1308 				BaseAddress="0x1d000000"
1309 				TargetMachine="1"
1310+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1311 			/>
1312 			<Tool
1313 				Name="VCALinkTool"
1314@@ -137,6 +138,7 @@
1315 				OutputFile="$(OutDir)\pythonw_d.exe"
1316 				StackReserveSize="2000000"
1317 				BaseAddress="0x1d000000"
1318+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1319 			/>
1320 			<Tool
1321 				Name="VCALinkTool"
1322@@ -208,6 +210,7 @@
1323 				StackReserveSize="2000000"
1324 				BaseAddress="0x1d000000"
1325 				TargetMachine="1"
1326+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1327 			/>
1328 			<Tool
1329 				Name="VCALinkTool"
1330@@ -279,6 +282,7 @@
1331 				OutputFile="$(OutDir)\pythonw.exe"
1332 				StackReserveSize="2000000"
1333 				BaseAddress="0x1d000000"
1334+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1335 			/>
1336 			<Tool
1337 				Name="VCALinkTool"
1338@@ -351,6 +355,7 @@
1339 				BaseAddress="0x1d000000"
1340 				ImportLibrary=""
1341 				TargetMachine="1"
1342+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1343 			/>
1344 			<Tool
1345 				Name="VCALinkTool"
1346@@ -424,6 +429,7 @@
1347 				BaseAddress="0x1d000000"
1348 				ImportLibrary=""
1349 				TargetMachine="17"
1350+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1351 			/>
1352 			<Tool
1353 				Name="VCALinkTool"
1354@@ -496,6 +502,7 @@
1355 				BaseAddress="0x1d000000"
1356 				ImportLibrary=""
1357 				TargetMachine="1"
1358+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1359 			/>
1360 			<Tool
1361 				Name="VCALinkTool"
1362@@ -569,6 +576,7 @@
1363 				BaseAddress="0x1d000000"
1364 				ImportLibrary=""
1365 				TargetMachine="17"
1366+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1367 			/>
1368 			<Tool
1369 				Name="VCALinkTool"
1370diff -urp misc/Python-2.7.18/PC/VS9.0/select.vcproj misc/build/Python-2.7.18/PC/VS9.0/select.vcproj
1371--- misc/Python-2.7.18/PC/VS9.0/select.vcproj	2017-09-16 12:38:35.000000000 -0500
1372+++ misc/build/Python-2.7.18/PC/VS9.0/select.vcproj	2017-10-21 17:56:40.240210000 -0500
1373@@ -57,6 +57,7 @@
1374 				AdditionalDependencies="ws2_32.lib"
1375 				IgnoreDefaultLibraryNames="libc"
1376 				BaseAddress="0x1D110000"
1377+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1378 			/>
1379 			<Tool
1380 				Name="VCALinkTool"
1381@@ -119,6 +120,7 @@
1382 				AdditionalDependencies="ws2_32.lib"
1383 				IgnoreDefaultLibraryNames="libc"
1384 				BaseAddress="0x1D110000"
1385+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1386 			/>
1387 			<Tool
1388 				Name="VCALinkTool"
1389@@ -181,6 +183,7 @@
1390 				AdditionalDependencies="ws2_32.lib"
1391 				IgnoreDefaultLibraryNames="libc"
1392 				BaseAddress="0x1D110000"
1393+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1394 			/>
1395 			<Tool
1396 				Name="VCALinkTool"
1397@@ -244,6 +247,7 @@
1398 				AdditionalDependencies="ws2_32.lib"
1399 				IgnoreDefaultLibraryNames="libc"
1400 				BaseAddress="0x1D110000"
1401+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1402 			/>
1403 			<Tool
1404 				Name="VCALinkTool"
1405@@ -306,6 +310,7 @@
1406 				AdditionalDependencies="ws2_32.lib"
1407 				IgnoreDefaultLibraryNames="libc"
1408 				BaseAddress="0x1D110000"
1409+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1410 			/>
1411 			<Tool
1412 				Name="VCALinkTool"
1413@@ -370,6 +375,7 @@
1414 				IgnoreDefaultLibraryNames="libc"
1415 				BaseAddress="0x1D110000"
1416 				TargetMachine="17"
1417+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1418 			/>
1419 			<Tool
1420 				Name="VCALinkTool"
1421@@ -432,6 +438,7 @@
1422 				AdditionalDependencies="ws2_32.lib"
1423 				IgnoreDefaultLibraryNames="libc"
1424 				BaseAddress="0x1D110000"
1425+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1426 			/>
1427 			<Tool
1428 				Name="VCALinkTool"
1429@@ -496,6 +503,7 @@
1430 				IgnoreDefaultLibraryNames="libc"
1431 				BaseAddress="0x1D110000"
1432 				TargetMachine="17"
1433+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1434 			/>
1435 			<Tool
1436 				Name="VCALinkTool"
1437diff -urp misc/Python-2.7.18/PC/VS9.0/sqlite3.vcproj misc/build/Python-2.7.18/PC/VS9.0/sqlite3.vcproj
1438--- misc/Python-2.7.18/PC/VS9.0/sqlite3.vcproj	2017-09-16 12:38:35.000000000 -0500
1439+++ misc/build/Python-2.7.18/PC/VS9.0/sqlite3.vcproj	2017-10-21 17:56:40.241775000 -0500
1440@@ -56,6 +56,7 @@
1441 			<Tool
1442 				Name="VCLinkerTool"
1443 				OutputFile="$(OutDir)\$(ProjectName)_d.dll"
1444+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1445 			/>
1446 			<Tool
1447 				Name="VCALinkTool"
1448@@ -117,6 +118,7 @@
1449 			<Tool
1450 				Name="VCLinkerTool"
1451 				OutputFile="$(OutDir)\$(ProjectName)_d.dll"
1452+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1453 			/>
1454 			<Tool
1455 				Name="VCALinkTool"
1456@@ -178,6 +180,7 @@
1457 			<Tool
1458 				Name="VCLinkerTool"
1459 				OutputFile="$(OutDir)\$(ProjectName).dll"
1460+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1461 			/>
1462 			<Tool
1463 				Name="VCALinkTool"
1464@@ -240,6 +243,7 @@
1465 			<Tool
1466 				Name="VCLinkerTool"
1467 				OutputFile="$(OutDir)\$(ProjectName).dll"
1468+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1469 			/>
1470 			<Tool
1471 				Name="VCALinkTool"
1472@@ -301,6 +305,7 @@
1473 			<Tool
1474 				Name="VCLinkerTool"
1475 				OutputFile="$(OutDir)\$(ProjectName).dll"
1476+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1477 			/>
1478 			<Tool
1479 				Name="VCALinkTool"
1480@@ -362,6 +367,7 @@
1481 			/>
1482 			<Tool
1483 				Name="VCLinkerTool"
1484+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1485 			/>
1486 			<Tool
1487 				Name="VCALinkTool"
1488@@ -423,6 +429,7 @@
1489 			<Tool
1490 				Name="VCLinkerTool"
1491 				OutputFile="$(OutDir)\$(ProjectName).dll"
1492+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1493 			/>
1494 			<Tool
1495 				Name="VCALinkTool"
1496@@ -484,6 +491,7 @@
1497 			/>
1498 			<Tool
1499 				Name="VCLinkerTool"
1500+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1501 			/>
1502 			<Tool
1503 				Name="VCALinkTool"
1504diff -urp misc/Python-2.7.18/PC/VS9.0/unicodedata.vcproj misc/build/Python-2.7.18/PC/VS9.0/unicodedata.vcproj
1505--- misc/Python-2.7.18/PC/VS9.0/unicodedata.vcproj	2017-09-16 12:38:35.000000000 -0500
1506+++ misc/build/Python-2.7.18/PC/VS9.0/unicodedata.vcproj	2017-10-21 17:56:40.242820000 -0500
1507@@ -55,6 +55,7 @@
1508 			<Tool
1509 				Name="VCLinkerTool"
1510 				BaseAddress="0x1D120000"
1511+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1512 			/>
1513 			<Tool
1514 				Name="VCALinkTool"
1515@@ -115,6 +116,7 @@
1516 			<Tool
1517 				Name="VCLinkerTool"
1518 				BaseAddress="0x1D120000"
1519+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1520 			/>
1521 			<Tool
1522 				Name="VCALinkTool"
1523@@ -175,6 +177,7 @@
1524 			<Tool
1525 				Name="VCLinkerTool"
1526 				BaseAddress="0x1D120000"
1527+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1528 			/>
1529 			<Tool
1530 				Name="VCALinkTool"
1531@@ -236,6 +239,7 @@
1532 			<Tool
1533 				Name="VCLinkerTool"
1534 				BaseAddress="0x1D120000"
1535+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1536 			/>
1537 			<Tool
1538 				Name="VCALinkTool"
1539@@ -296,6 +300,7 @@
1540 			<Tool
1541 				Name="VCLinkerTool"
1542 				BaseAddress="0x1D120000"
1543+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1544 			/>
1545 			<Tool
1546 				Name="VCALinkTool"
1547@@ -358,6 +363,7 @@
1548 				Name="VCLinkerTool"
1549 				BaseAddress="0x1D120000"
1550 				TargetMachine="17"
1551+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1552 			/>
1553 			<Tool
1554 				Name="VCALinkTool"
1555@@ -418,6 +424,7 @@
1556 			<Tool
1557 				Name="VCLinkerTool"
1558 				BaseAddress="0x1D120000"
1559+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1560 			/>
1561 			<Tool
1562 				Name="VCALinkTool"
1563@@ -480,6 +487,7 @@
1564 				Name="VCLinkerTool"
1565 				BaseAddress="0x1D120000"
1566 				TargetMachine="17"
1567+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1568 			/>
1569 			<Tool
1570 				Name="VCALinkTool"
1571diff -urp misc/Python-2.7.18/PC/VS9.0/w9xpopen.vcproj misc/build/Python-2.7.18/PC/VS9.0/w9xpopen.vcproj
1572--- misc/Python-2.7.18/PC/VS9.0/w9xpopen.vcproj	2017-09-16 12:38:35.000000000 -0500
1573+++ misc/build/Python-2.7.18/PC/VS9.0/w9xpopen.vcproj	2017-10-21 17:56:40.243805000 -0500
1574@@ -59,6 +59,7 @@
1575 			<Tool
1576 				Name="VCLinkerTool"
1577 				SubSystem="1"
1578+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1579 			/>
1580 			<Tool
1581 				Name="VCALinkTool"
1582@@ -124,6 +125,7 @@
1583 			<Tool
1584 				Name="VCLinkerTool"
1585 				SubSystem="1"
1586+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1587 			/>
1588 			<Tool
1589 				Name="VCALinkTool"
1590@@ -191,6 +193,7 @@
1591 				Name="VCLinkerTool"
1592 				GenerateDebugInformation="false"
1593 				SubSystem="1"
1594+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1595 			/>
1596 			<Tool
1597 				Name="VCALinkTool"
1598@@ -259,6 +262,7 @@
1599 				Name="VCLinkerTool"
1600 				GenerateDebugInformation="false"
1601 				SubSystem="1"
1602+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1603 			/>
1604 			<Tool
1605 				Name="VCALinkTool"
1606@@ -327,6 +331,7 @@
1607 				GenerateDebugInformation="false"
1608 				SubSystem="1"
1609 				ImportLibrary=""
1610+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1611 			/>
1612 			<Tool
1613 				Name="VCALinkTool"
1614@@ -397,6 +402,7 @@
1615 				SubSystem="1"
1616 				ImportLibrary=""
1617 				TargetMachine="17"
1618+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1619 			/>
1620 			<Tool
1621 				Name="VCALinkTool"
1622@@ -465,6 +471,7 @@
1623 				GenerateDebugInformation="false"
1624 				SubSystem="1"
1625 				ImportLibrary=""
1626+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1627 			/>
1628 			<Tool
1629 				Name="VCALinkTool"
1630@@ -535,6 +542,7 @@
1631 				SubSystem="1"
1632 				ImportLibrary=""
1633 				TargetMachine="17"
1634+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1635 			/>
1636 			<Tool
1637 				Name="VCALinkTool"
1638diff -urp misc/Python-2.7.18/PC/VS9.0/winsound.vcproj misc/build/Python-2.7.18/PC/VS9.0/winsound.vcproj
1639--- misc/Python-2.7.18/PC/VS9.0/winsound.vcproj	2017-09-16 12:38:35.000000000 -0500
1640+++ misc/build/Python-2.7.18/PC/VS9.0/winsound.vcproj	2017-10-21 17:56:40.244677000 -0500
1641@@ -55,6 +55,7 @@
1642 			<Tool
1643 				Name="VCLinkerTool"
1644 				AdditionalDependencies="winmm.lib"
1645+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1646 			/>
1647 			<Tool
1648 				Name="VCALinkTool"
1649@@ -115,6 +116,7 @@
1650 			<Tool
1651 				Name="VCLinkerTool"
1652 				AdditionalDependencies="winmm.lib"
1653+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1654 			/>
1655 			<Tool
1656 				Name="VCALinkTool"
1657@@ -175,6 +177,7 @@
1658 			<Tool
1659 				Name="VCLinkerTool"
1660 				AdditionalDependencies="winmm.lib"
1661+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1662 			/>
1663 			<Tool
1664 				Name="VCALinkTool"
1665@@ -236,6 +239,7 @@
1666 			<Tool
1667 				Name="VCLinkerTool"
1668 				AdditionalDependencies="winmm.lib"
1669+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1670 			/>
1671 			<Tool
1672 				Name="VCALinkTool"
1673@@ -296,6 +300,7 @@
1674 			<Tool
1675 				Name="VCLinkerTool"
1676 				AdditionalDependencies="winmm.lib"
1677+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1678 			/>
1679 			<Tool
1680 				Name="VCALinkTool"
1681@@ -358,6 +363,7 @@
1682 				Name="VCLinkerTool"
1683 				AdditionalDependencies="winmm.lib"
1684 				TargetMachine="17"
1685+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1686 			/>
1687 			<Tool
1688 				Name="VCALinkTool"
1689@@ -418,6 +424,7 @@
1690 			<Tool
1691 				Name="VCLinkerTool"
1692 				AdditionalDependencies="winmm.lib"
1693+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1694 			/>
1695 			<Tool
1696 				Name="VCALinkTool"
1697@@ -480,6 +487,7 @@
1698 				Name="VCLinkerTool"
1699 				AdditionalDependencies="winmm.lib"
1700 				TargetMachine="17"
1701+				AdditionalOptions="/NXCOMPAT /DYNAMICBASE"
1702 			/>
1703 			<Tool
1704 				Name="VCALinkTool"
1705