By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,626 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,626 IT Pros & Developers. It's quick & easy.

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

P: 1
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
Share this Question
Share on Google+
1 Reply


bartonc
Expert 5K+
P: 6,596
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

Post your reply

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