Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extending Phyton using c and c++ libraries

Status
Not open for further replies.

ramon

Programmer
Jul 24, 1999
1
CH
<br>
Hello,<br>
<br>
I have some trouble extending python using dynamically<br>
loaded libraries generated using cc and CC on SUN Sparc<br>
workstation under solaris 2.7, the python libraries<br>
being created using gcc. <br>
<br>
I am using the standard hook between python and c, and I call a function defined in a c++ library from a c function after having unpacked the python arguments. The application crashes when I try to call the c++ function.<br>
<br>
In python, I am using Tkinter and I pass the tkinterp as <br>
argument to the c function.<br>
<br>
Has somebody encountered the same kind of problems and<br>
has somebody found a solution?<br>
<br>
Thanks in advance, Ramon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top