Did anyone know how to communicate between C program and a GUI program?
If i have a C program which does all the operation. And a GUI program written in GTK which provides all the nice interface for the C program.
The C program and GTK program are two separate program.....
which means that C program is runnable through command line without the need of the GUI.
However if i want to make both of them communicate in term of messages. For example, usually the error messages is displayed in the terminal / console..but when i am using a GUI as a front end to run the C program, the error message will be display in the window in the GUI program instead of in the console....
Is there a way to send over the message from C program to GUI?
Anyone got example or sample code?