I have a VS2005 solution project which consist of two dependent project. This project is a C console application which communicates with a device and gets some outputs from it. This project is an old project and it does not written by me. I am an Electrical-Electronics Engineer and mostly I use C language for projects. I do not know so much about C++ and C#. For some time I am dealing with VS2010 and c++ form applications. I get the basics but I have some problems. I want to add gui for this console project. I have designed a form applicatiom for this purpose. I have buttons to start the process in console application and RichTextbox for outputs.
I must call a function inside console project from winform application by clicking a button. I want to call that function in a loop for continuous readings.
I have tried to call "console.exe" file and run it inside my winform project and redirect the outputs to richtextbox but it was too slow for my projects. I have to do continuous speedy reading from my device.
What is the best way to do this? I want to convert my C console application to windows form application.
Thank you.