Hello out there...

I will give you some background on my project before asking the question.

My current job now is automating test equipment. The device I'm working with now (a Lakeshore 335 Temperature Controller) had no provided source library in any language. So, I built my own Lakeshore class using the Win32API serial class (WriteFile, ReadFile) and standard C file I/O. This class was designed in a console environment.

Now, I'm porting my code to a gui environment. I need to be able to write status messages from the Lakeshore class to the form controls and be able to control a global instance of the Lakeshore class with the various forms. I've tried and failed twice with 2 different gui libraries.

Windows Forms Application: this class uses the System namespace (which is horrible and full of bugs). This class would not let me create form instances in other files.

Qt: this class did not like sharing instances either, but it was more flexible in terms of what you can do with it. I ended up having to merge the two classes into one set of files. It still doesn't load the program though.

One of the reasons I haven't used the Win32 API to make the gui is because I have a hard time visualizing a gui through code.

So, I am asking, is there a C++ or C gui library that has those capabilities?

This is not a beginner's question. I'm looking for an educated response.

Thanks.

Agent86