I am still stuck on this problem. I have posted a more detailed account here
http://stackoverflow.com/questions/29597999/incorrect-dll-is-loaded-from-windows-path-instead-of-manifest _ctypes.pyd calls LoadLibraryA("msvcr90.dll") and a version of msvcr90.dll is found in the Windows PATH, despite the fact that I have included the correct version and a manifest, as described on the internet in may places. Is there is something wrong with the way that I have created my DLL? As far as I can see, the only place that msvcr90.dll is loaded during the registration process is the one one shown on the link above. If I remove the path pointing to the wrong DLL, then the LoadLibrary call still seems to fail, it does not succeed in loading the copy of msvcr.dll that I supply, but that failure does not cause the registration of my DLL to fail (indeed, the error dialog that pops up when the wrong msvcr90.dll is loaded can just be canceled: the COM server then registers and operates correctly). This behaviour suggests to me that the manifest I supply when distributing the DLL is not being used correctly. Can no one offer any help? On Fri, Nov 7, 2014 at 12:00 AM, <python-win32-requ...@python.org> wrote: > Send python-win32 mailing list submissions to > python-win32@python.org > > To subscribe or unsubscribe via the World Wide Web, visit > https://mail.python.org/mailman/listinfo/python-win32 > or, via email, send a message with subject or body 'help' to > python-win32-requ...@python.org > > You can reach the person managing the list at > python-win32-ow...@python.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of python-win32 digest..." > > > Today's Topics: > > 1. Re: Error R6034 when I import uuid (Roger Upole) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 5 Nov 2014 15:37:51 -0500 > From: "Roger Upole" <rup...@hotmail.com> > To: python-win32@python.org > Subject: Re: [python-win32] Error R6034 when I import uuid > Message-ID: <m3e1q5$k9f$1...@ger.gmane.org> > Content-Type: text/plain; charset="utf-8" > > This appears to be due to way rpcrt4.dll is loaded by ctypes. If a > side-by-side assembly has already loaded a version that?s not > compatible with the activation context of Python itself, ctypes will > attempt to use it anyway. > > Roger > > "Blair Hall" <blairdh...@gmail.com> wrote in message > news:CAJeTVArsN8Vp_e6cnF3yUf6cUC4uHUJ6ggmsKUeDCzcKA_=u...@mail.gmail.com... > I have a small python COM server that worked fine with Excel until I > decided to import the standard Python 'uuid' module. > > Now I get the Windows Runtime error R6034 "An application has made an > attempt to load the C runtime library incorrectly" > > > I there anything that I can do to fix this? > > > > > -------------------------------------------------------------------------------- > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.python.org/pipermail/python-win32/attachments/20141105/9bf7f239/attachment-0001.html > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > > > ------------------------------ > > End of python-win32 Digest, Vol 140, Issue 1 > ******************************************** >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32