473,605 Members | 2,590 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Re: ctypes(python 2.5) cant work in win2000 platform!!!

1 New Member
Hi All,
Urgent SOS!!! I developed my project using pyton 2.5 under winXP and had an issue in loading my dll if the target user is using Win2000.
Initially, I thought it was caused by the dlls I created were not compatible with Win2k. Then, I wrote a simple MFC program to load the dlls.
It works fine for MFC but not for ctypes(python 2.5). Can someone please help?

Thanks......

Best regards,
Vincent....
Apr 30 '07 #1
1 1469
bartonc
6,596 Recognized Expert Expert
Hi All,
Urgent SOS!!! I developed my project using pyton 2.5 under winXP and had an issue in loading my dll if the target user is using Win2000.
Initially, I thought it was caused by the dlls I created were not compatible with Win2k. Then, I wrote a simple MFC program to load the dlls.
It works fine for MFC but not for ctypes(python 2.5). Can someone please help?

Thanks......

Best regards,
Vincent....
I'm developing an app using ctypes on XP. I'm just beginning to understand the different C calling conventions used be MS in their DLLs. Some use "stdcall" accessed by ctypes.windll. Others may use <draws a blank - not at a machine with python installed> which are accessed with another ctypes library loader.

Hope that helps,
Barton
Apr 30 '07 #2

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

Similar topics

1
1316
by: al | last post by:
Hi, I'm planning to purchase Sql Server2000 St. Edt. and install it on windows 2000 server machine. I would like to know please if it is advisable to work on the same machine that host both servers or should I work on a separate one??? MTIA, Grawsha
14
1963
by: Champika Nirosh | last post by:
Hi All, We have a windows from application written in C#, there we have used Browser COM and other basic libraries present in standard .NET/C# SDK. So the next part is to make this appliaction available to Unix and Mac platform. I have couple of questions here 1. What are the possibilities we have of doing some thing like this? 2. What are the technical chalenges we will face of doing this? 3. What are the direct indirect solution we...
2
1470
by: General | last post by:
Hi All, I installed visual studio 2005, framework, sdk, and i was register aspregiss -i but i am receiving this error any page any code The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
10
1431
by: wish | last post by:
<html> <head> <title>Testing date function on 8 oct 2007</title> <script language="Javascript" src="menu/calender/CalendarPopup.js"></script> <script language="Javascript" src="menu/calender/AnchorPosition.js"></script> <script language="Javascript" src="menu/calender/date.js"></script> <script language="Javascript" src="menu/calender/PopupWindow.js"></script> <script language="Javascript">
29
1981
by: psaffrey | last post by:
I've been programming in Python for 5 or more years now and whenever I want a quick-n-dirty GUI, I use Tkinter. This is partly because it's the first toolkit I learnt, but also because it's part of the standard Python distribution and therefore easy to get Python apps to work cross platform - it usually requires almost no porting effort. However, when I need a little bit more grunt, I tend to turn to Tix, which I thought was also fairly...
4
1310
by: wish | last post by:
Hi all, <? $email="you@example.com"; $subject="Enter your subject here"; $message="Enter your message here"; mail($email,$subject,$message,"From:$email"); ?>
12
3547
by: Acrobatic | last post by:
I'm trying to store user passwords in a MySQL database. I learned the hard way that using MySQL "DECODE" and "ENCODE" doesn't seem to work cross-platform, but if I encrypt on the server side with PHP's md5 function, will it work cross-platform (or cross-processor?) Thank you for any advice
4
1886
by: suckyboy | last post by:
Hi... I have a small problem here. I did a database on my School computer with Access 2007. However, when I use the database on my Home computer with Access 2007 there. The search function doesnt work when it could work initially on my School computer. What could be the reason for this?
0
8425
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8071
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8288
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6743
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5886
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5445
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2438
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 we have to send another system
0
1271
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.