Re: calling C method with CString
Bartosh Wroblevksy <[email protected]> Tue, 18 Oct 2011 08:50:21 -0400
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <[email protected]> |
Thank you so much Thomas, I really appreciate the help. If anything, it points us in the right direction. Thanks again, Bartosh > To: [email protected] > From: [email protected] > Date: Tue, 18 Oct 2011 14:05:20 +0200 > Subject: Re: [ctypes-users] calling C method with CString > > Am 18.10.2011 09:27, schrieb Bartosh Wroblevksy: > > 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 ) > > No, it's not possible. ctypes doesn't support the C++ calling > convention (among other problems). > > Thomas > > > ------------------------------------------------------------------------------ > 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