473,491 Members | 2,221 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

_except_handler4_common could not be located in the dynamic link

1 New Member
This error occurs when using py2exe on a vista machine and trying to run the resulting EXE on an XP machine. In looking into this in more detail, it seems that the Vista machine run adds in an additional DLL file that is not needed (at least in my case) and this additional DLL is the cause of the error.

See http://www.thescripts.com/forum/thread730751.html

I am using wxPython with pySerial. Then assembling everything with py2exe and using NSIS to build an install file. If I do the builds on the XP machine, the result will install and run on both XP and Vista, but if I do the builds on Vista, the result will install on both XP and Vista, but will only run on Vista.

The extra DLL is named: MSWSOCK.DLL

I assume this DLL has something to do with sockets, which I am not needing in my program. I am not sure why it gets included.
Mar 16 '08 #1
1 7028
jlm699
314 Contributor
The extra DLL is named: MSWSOCK.DLL
Expand|Select|Wrap|Line Numbers
  1.  setup(
  2.         options = {"py2exe": { "dll_excludes": ["MSWSOCK.DLL"]}},
  3.         ...
  4.     )
I've experienced similar problems. Excluding Dlls is very common with py2exe since it most of the time tries to package dlls that will already be on the user's machine anyway.
Mar 17 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1663
by: Mark Wilson CPU | last post by:
I upgraded my local Nuspere installation with the newer PHP (see notes below); I installed the 4.3.2 version, using the installer ("blind", since I never heard back from anyone who'd done it...
1
2954
by: Manu | last post by:
Hello, i ve again a little problem with my dynamic web site... i need to insert a dynamic link (css) into my body ! Why ? because i've a html template and i insert into the body a dynamic...
4
4601
by: Daniel Keller | last post by:
Hello! I'm trying to set up a page system using "dynamic" SSI. That means that I normally use the following on my website: <!--#include virtual="file.inc" --> Now I want to make this...
1
2168
by: Boris | last post by:
I have C++ .NET mixed (managed/unmanaged) application. I build it under W2K and it works fine. However when I tried to run it under NT 4.0 I've got the following error message: The procedure...
4
4425
by: yhebib | last post by:
Hello All, I've been browsing and reading all articles I could find on technet ,msdn and other knowledgeable sources to understand the issue I'm dealing with. However, I did not find so far how...
2
6340
by: JWL | last post by:
Hi I need to create a bunch of sites with slightly dynamic CSS. Basically, all the image paths in the CSS need to be dynamic, depending on the values of certain ASP variables. I can think of...
5
3139
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
1
4917
by: mmr315 | last post by:
after installing php i clicked on php-win.exe it is giving error message like the procedure entry point empty_string could not be located in the dynamic link library php5ts.dll ...
2
4426
Frinavale
by: Frinavale | last post by:
I've created a ASP.NET control that displays a "book" of schedules. It dynamically displays scheduling times and allows the user to page through the schedules. It also lets the user edit the...
1
3394
by: premMS143 | last post by:
Hi, I Installed ASTON software to my Windows Vista OS. After instaling i asked for log off & then restarted the system. After restarting I got only Windows logon screen. But after accepting...
0
6978
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7190
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6858
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7360
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5451
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.