Author aheider
Recipients aheider, koen, loewis, mhammond
Date 2008-10-24.09:28:58
SpamBayes Score 1.93753e-06
Marked as misclassified No
Message-id <1224840540.62.0.21335890642.issue4120@psf.upfronthosting.co.za>
In-reply-to
Content
I tried to use _CRT_NOFORCE_MANIFEST but i couldn't get it working.
There're some infos about this approach at
http://blog.m-ri.de/index.php/2008/05/06/hotfix-fuer-usemsprivateassembliesh-und-vc-2008/
, but even with the mentioned "__declspec(selectany) int
_forceCRTManifest[RTM];" statement, i wasn't able to suppress the
manifest dependency :(

Microsoft, in its infinite wisdom, decided to compile the CRT itself
with those #pragma's enabled. That puts the "/manifestdependency" linker
arguments in msvcrt.lib. When you link against that file you get that
CRT manifest entry, whether you like it or not :(
Looks like _CRT_NOFORCE_MANIFEST only works if you build your own CRT
without the #pragma's.
Of course that only applies to the dynamic version of the CRT, when
using /MT the manifest hell just vanishes.

I'm unsure what the best way to fix this issue for python is...
History
Date User Action Args
2008-10-24 09:29:00aheidersetrecipients: + aheider, loewis, mhammond, koen
2008-10-24 09:29:00aheidersetmessageid: <1224840540.62.0.21335890642.issue4120@psf.upfronthosting.co.za>
2008-10-24 09:28:59aheiderlinkissue4120 messages
2008-10-24 09:28:58aheidercreate