Blair Hall wrote:
I get your point that the first manifest I provided is not specific to
the DLL, but the second (embedded in the DLL) manifest that I posted
seems to identify a particular version of msvcr90.dll. Sadly, Windows
does not worry about matching the version of msvcr90.dll
I have used py2exe on another project that creates an EXE. This
project also imports uuid (it basically imports the same stuff I am
using now, but for a different application). In that case, the
manifest seems to work as expected. So, I wonder what is different in
the case of my DLL? Well
You might consider double-checking your message subjects before
responding. That's especially important when you read the digest.
Oh dear, I am sorry. I hadn't twigged to how that worked. I have restored
the original subject now, from my initial post. Hope that helps.
Blair Hall wrote
...@probo.com
Content-Type: text/plain; charset=utf-8
Blair Hall wrote:
_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
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
vulnerable to this sort of problem?
Message: 1
Date: Mon, 8 Dec 2014 16:34:55 +1300
From: Blair Hall blairdh...@gmail.com
To: python-win32 python-win32@python.org
Subject: Re: [python-win32] py2exe com_server newbie problem
Message-ID:
cajetvapb_ozmonml+-mch8nj2ckjjstp5rjxbdsvyj7vdx8
the error dialog) and is successful. The same thing happens when
de-registering the DLL.
I have no idea why zlib is required when building on one machine and not
the other. Can anyone suggest a reason?
On Fri, Sep 26, 2014 at 5:32 PM, Blair Hall blairdh...@gmail.com wrote:
I have been working
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?
I have been working on this all day, with no joy. Some help would be
appreciated :-)
I have a simple COM server (that I found on the internet):
#---
import pythoncom
import sys
class HelloWorld:
#pythoncom.frozen = 1
if