Re: calling C method with CString

Bartosh Wroblevksy <[email protected]> Tue, 18 Oct 2011 07:36:39 -0400
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
Even better,

>From a Python 2.5 script, we would like to call a C method whose first 
parameter is of type CString*. We are wondering if this is possible with 
ctypes:

bool myMethod( CString* myInput )

We can't find a way.

Thanks,
Bartosh


From: [email protected]
To: [email protected]
Date: Tue, 18 Oct 2011 03:27:58 -0400
Subject: [ctypes-users] calling C method with CString








Hi everybody,

I apologize if this has been answered before. From a Python script, we would like to call a C method whose first parameter is of type CString. We are wondering if this is possible with ctypes:

bool myMethod( CString myInput )

Thanks,
Bartosh
 		 	   		  

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct

_______________________________________________
ctypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ctypes-users