I am new to the programming game and have a question for you seasoned veterans:

I have a data collection device whose API is c++ based. When I want to write a program whose first step is to initialize the system, I write "InitializeSystem(); " In a C++ IDE (Visual Studio). Anyway...I wrote a data collection program in c++ and it works very well.

What I would like to do is write a tkinter application capable of accessing the same sort of functionality. So imagine for example that I have a tkinter window with one button. When the user presses the button, it is equivalent to making the call to "InitializeSystem(); " in a c++ program. How do I do this? What is the general plan of attack?

Sorry for the rough explanation. I can clarify if needed. Any help is greatly appreciated.

7 Years
Discussion Span
Last Post by runge_kutta

So that seems like a pretty good solution. Thanks for the tip! Marking thread as solved.

Take-home lesson: Swig is neat!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.