Re: static libraries
Reuben Thomas <[email protected]> Sun, 16 Jan 2011 19:07:36 +0000
| Newsgroups | gmane.comp.python.ctypes |
|---|---|
| Message-ID | <[email protected]> |
On 16 January 2011 00:57, Mads Kiilerich <[email protected]> wrote: > Hi > > ctypes works fine for me wrapping dynamic libraries (.dll and .so on > windows, linux and mac). > > Now one of the libraries I'm wrapping changes to being provided as a > static library (.lib and .a). Can you not just link your executable so it's dlopen-able, then use ctypes as normal, but using your executable as the library? -- http://rrt.sc3d.org ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl