LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

MFC vs cVI

We have Microsoft Visual Studio C++ 2005 .NET that we have developed a lot of code on.
 
The idea being we could include our MFC code/classes into cVI to take advantage of cVI's GUI options.
 
But, I am not sure it would be that easy?
 
I read where you can specify external compilers, but, in doing so do you loose some cVI capabilities?
 
Another big motivator is that we want to make the app cross platform, that is target a Linux system.
 
At first I was looking at NI's Measurement Studio add on to MFC .NET,
 
But, it does not appear to be cross platform compliment?
 
In summary, we need a GUI front end that can make use of our MFC C++ lib/code/classes and compile for MS or Linux platforms.
 
Any advice would be greatly appreciated.
 
Grant
 
0 Kudos
Message 1 of 3
(3,782 Views)
Did I miss hearing the big bang? About eight years ago I faced almost the same situation.
All I found was a lot of tips on how to make a port of an MFC application to Linux. As I didn't want to make the port, everything was frozen in.
Can we compile and link MFC applications or libraries into native Linux code today?
BTW: If you need great support for many platforms -> How about LabVIEW?
Regards, Guenter
0 Kudos
Message 2 of 3
(3,773 Views)
The CVI User Interface Library runs in Win32 and Linux - you will need to obtain the CVI Linux runtime module. I do not know about using MFC in Linux - I would think this is not easily possible. You can call the CVI UI library functions from C++ programs written in Visual Studio C++ 2005. If you are using plain C++ with STL, then this code should be easily portable to Linux. But if you are using Microsoft-specific classes like MFC, ATL, etc, then porting this to Linux may be painful and/or impossible.
0 Kudos
Message 3 of 3
(3,738 Views)