logo       

Error on linux: msg#00001

python.ctypes

Subject: Error on linux

I'm using ctypes v 0.9.1 on linux for the first time.

Then I try to use create_unicode_buffer(), I receive this error:

File "/usr/lib/python2.3/site-packages/ctypes/__init__.py", line 74, in create_unicode_buffer
buftype = c_wchar * init
NameError: global name 'c_wchar' is not defined

What can I do?

Thanks,
Michele Petrazzo


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise