[Python-checkins] r59913 - python/trunk/PCbuild/_sqlite3.vcproj

Amaury Forgeot d'Arc amauryfa at gmail.com
Fri Jan 11 17:56:31 CET 2008


Thomas Heller wrote:
> Christian Heimes schrieb:
> > On Windows XP and newer you can't simply copy an assembly DLL next to
> > the executable and assume that it picks up the DLL. It must either be
> > installed as a global side-by-side assembly (SxS) or a private assembly.
> >
>
> I don't have time now to read the references that you gave, but do you
> have an answer to these questions:
>
> Doesn't the VC 2008 installation install the global SxS assemblies?
> These are the dlls that Python uses when it is run on the build machine IIUC.
>
> And how does it come that python_d.exe can load the debug dll, but the
> sqlite3.dll in the same process can NOT load the release dll?

Tentative explanation: "Manifests" are embedded in binaries, and are
used to check dlls at load time.
python_d.exe contains the manifest for the debug dll: see the
"Embedding Manifest" step in the build log.
But sqlite3.dll was compiled "by hand", and does not contain manifest.
So there is no manifest at all for the release dll, and it will not
load.

-- 
Amaury Forgeot d'Arc


More information about the Python-checkins mailing list