Re: calling C method with CString
Thomas Heller <[email protected]> Tue, 18 Oct 2011 14:05:20 +0200
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <[email protected]> |
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