Hello All,
I'd like to create an application that reads/writes eeproms via i2c on the parallel port.
The GUI will be based on TK and the control part on C/C++ and a DLL (io.dll) to control the parallel port.
OS is windows.
My question is :
How can i catch the e.q. send-button / read-button event and use it as input for the in C written control loop ?
I know how to create a TK gui from c-code and how to create TCL Commands.
Is it easier to create a send command that handles the io.dll ? and bind it to a send button ?
Or can i better catch the event and pass it to a switch statement (coded in C ) that handles the io.dll ?
best regards
Simon
I'd like to create an application that reads/writes eeproms via i2c on the parallel port.
The GUI will be based on TK and the control part on C/C++ and a DLL (io.dll) to control the parallel port.
OS is windows.
My question is :
How can i catch the e.q. send-button / read-button event and use it as input for the in C written control loop ?
I know how to create a TK gui from c-code and how to create TCL Commands.
Is it easier to create a send command that handles the io.dll ? and bind it to a send button ?
Or can i better catch the event and pass it to a switch statement (coded in C ) that handles the io.dll ?
best regards
Simon