diff options
author | Thomas Heller <theller@ctypes.org> | 2006-04-13 08:33:58 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-04-13 08:33:58 (GMT) |
commit | 2f3f136b814f0d9178d1ebbfe27f3574d86f85e6 (patch) | |
tree | 248a45a6f82c3bb059e6d82694f95bc5c4618489 /PCbuild | |
parent | 9d548374e45969e5fea3480d47a7bd3067486719 (diff) | |
download | cpython-2f3f136b814f0d9178d1ebbfe27f3574d86f85e6.zip cpython-2f3f136b814f0d9178d1ebbfe27f3574d86f85e6.tar.gz cpython-2f3f136b814f0d9178d1ebbfe27f3574d86f85e6.tar.bz2 |
Allocate the 0x1D1A0000 base adress for the _ctypes extension module.
Export the COM entry point functions.
Note that there are several conflicting base addresses defined for
other extensions, also not all are listed in dllbase_nt.txt.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_ctypes.vcproj | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/PCbuild/_ctypes.vcproj b/PCbuild/_ctypes.vcproj index 76518e6..4990c9e 100644 --- a/PCbuild/_ctypes.vcproj +++ b/PCbuild/_ctypes.vcproj @@ -33,12 +33,14 @@ Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" + AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE" OutputFile="./_ctypes_d.pyd" LinkIncremental="1" SuppressStartupBanner="TRUE" GenerateDebugInformation="TRUE" ProgramDatabaseFile=".\./_ctypes_d.pdb" SubSystem="0" + BaseAddress="0x1D1A0000" ImportLibrary=".\./_ctypes_d.lib" TargetMachine="1"/> <Tool @@ -85,6 +87,7 @@ Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" + AdditionalOptions="/EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE" OutputFile="./_ctypes.pyd" LinkIncremental="1" SuppressStartupBanner="TRUE" @@ -93,6 +96,7 @@ SubSystem="0" OptimizeReferences="0" EnableCOMDATFolding="0" + BaseAddress="0x1D1A0000" ImportLibrary=".\./_ctypes.lib" TargetMachine="1"/> <Tool @@ -142,7 +146,7 @@ Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" - AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK" + AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE" OutputFile="./_ctypes.pyd" LinkIncremental="1" SuppressStartupBanner="TRUE" @@ -151,6 +155,7 @@ SubSystem="0" OptimizeReferences="0" EnableCOMDATFolding="0" + BaseAddress="0x1D1A0000" ImportLibrary=".\./_ctypes.lib" TargetMachine="0"/> <Tool @@ -200,7 +205,7 @@ Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" - AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK" + AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK /EXPORT:DllGetClassObject,PRIVATE /EXPORT:DllCanUnloadNow,PRIVATE" OutputFile="./_ctypes.pyd" LinkIncremental="1" SuppressStartupBanner="TRUE" @@ -209,6 +214,7 @@ SubSystem="0" OptimizeReferences="0" EnableCOMDATFolding="0" + BaseAddress="0x1D1A0000" ImportLibrary=".\./_ctypes.lib" TargetMachine="0"/> <Tool |