Re: [python-win32] Error R6034 when I import uuid

2015-04-24 Thread Blair Hall
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

Re: [python-win32] Error R6034 when I import uuid

2015-04-21 Thread Blair Hall
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

Re: [python-win32] Error R6034 when I import uuid

2015-04-18 Thread Blair Hall
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

Re: [python-win32] python-win32 Digest, Vol 145, Issue 6

2015-04-15 Thread Blair Hall
...@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

Re: [python-win32] python-win32 Digest, Vol 140, Issue 1

2015-04-14 Thread Blair Hall
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

Re: [python-win32] python-win32 Digest, Vol 141, Issue 3

2014-12-09 Thread Blair Hall
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

Re: [python-win32] py2exe com_server newbie problem

2014-12-07 Thread Blair Hall
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

[python-win32] Error R6034 when I import uuid

2014-10-16 Thread Blair Hall
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] py2exe com_server newbie problem

2014-09-25 Thread Blair Hall
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