Click to See Complete Forum and Search --> : VC++ and Linux
Desvario
September 8th, 2004, 06:05 AM
Ok, here i am AGAIN !!! Anyone missed me???
This time i have an ugly thing to handle for University. I have to make something graphical using LINUX (gcc compiler). Like a small game. But since i like so much VC++ and i am used to work on it. I wouldnt enjoy to start Qt from zero, since i dont have a clue about it. Is there ANY way to create programs in VC++ to run on Linux??? Using all the MFC... and everything else...??? Thanks again...
Desvario...
:wave:
PadexArt
September 8th, 2004, 06:20 AM
Are you trying to start a war here or what? :D I haven't heard about such thing but this doesn't necessarilly means it doesn't exist. However I find it hard to believe as MFC is only a rather thin wrapper over WinAPI.
Having MFC on Linux implies having .... ( I'm even afraid to say it) .... WinAPI on Linux. Imagine the howls of the Unix community hearing this idea. :))
The QT graphic library, if you reffer to it, is quite nice and the overhead of programming using it is quite small for school projects.
Marc G
September 8th, 2004, 09:38 AM
Well ... actually, it is possible to write applications with MFC in Visual Studio and port them to all kinds of *unix flavors, but i guess it won't be cheap (see http://www.mainsoft.com/solutions/vmw5_wp.html)
Another solution might be to try Wine (http://www.winehq.com/), which is an implementation of WinAPI for *unix.
Paul McKenzie
September 8th, 2004, 12:56 PM
Well ... actually, it is possible to write applications with MFC in Visual Studio and port them to all kinds of *unix flavors, but i guess it won't be cheap (see http://www.mainsoft.com/solutions/vmw5_wp.html)
Another solution might be to try Wine (http://www.winehq.com/), which is an implementation of WinAPI for *unix.Also, Bristol Technology (http://www.bristol.com/windu/index.html) makes it possible to write MFC apps on UNIX. But again, it is an expensive piece of software.
Regards,
Paul McKenzie
HeartBreakKid
September 8th, 2004, 02:33 PM
I am surprised no one has mentioned WINE. Wine is a windows emulation layer built on top of Unix/X11.
http://www.winehq.com/
Marc G
September 8th, 2004, 02:56 PM
I am surprised no one has mentioned WINE. Wine is a windows emulation layer built on top of Unix/X11.
http://www.winehq.com/
Mmm ... then you didn't read my reply above ;)
Another solution might be to try Wine, which is an implementation of WinAPI for *unix.
:wave:
Desvario
September 9th, 2004, 06:27 AM
Thanks all for the replies. But while reading them i got some doubts.
Lets go one by one...
PadexArt, i am not trying to start a war ... :D I am just trying to past by subject without the need to start from zero (Qt) But thanks anyway for the reply... :thumb:
MarcG, also thanks for the reply, but i dont understand ur part of the reply were u say: Is not gonna be cheap... What u mean with that? Do i have to pay something??? :confused:
Paul Mackenzie, i also dont understand the idea of expensive piece of software... Can u give me a clue about that, please??? :thumb:
What i am trying to do is: Make the program in VC++ (windows) and them, by someway, make it run in Linux ( i am using Mandrake). Can the previous links or softwares ( i was visiting them) help me in this way???
Thanks a lot...
Desvario
:wave:
Paul McKenzie
September 9th, 2004, 06:36 AM
Thanks all for the replies. But while reading them i got some doubts.
Lets go one by one...
Paul Mackenzie, i also dont understand the idea of expensive piece of software... Can u give me a clue about that, please??? :thumb: Go to the links for MainSoft and Bristol Technologies. You will see that their libraries that port MFC to UNIX cost a lot of money. If you are a middle to large company, it may be worth it. If you are a single developer, you better have a lot of cash to pay for the libraries being offered by these companies.
What i am trying to do is: Make the program in VC++ (windows) and them, by someway, make it run in Linux ( i am using Mandrake). Can the previous links or softwares ( i was visiting them) help me in this way???There are two ways to do this. The first is try to get the operating system to recognize a Windows executable, and run the executable. That is what I believe WINE does.
The second method is to actually recompile your MFC code in Linux. This is much more expensive (you need the MFC libraries for UNIX, and that is what MainSoft and Bristol provide). You don't need any emulation software such as WINE, since your code was actually compiled for Linux and is ready to run "out of the box".
Regards,
Paul McKenzie
Andy Tacker
September 9th, 2004, 06:42 AM
I think nobody would mind, if I move this thread to General Developer discussions.
Andy
panayotisk
September 9th, 2004, 06:51 AM
Originally posted by Paul McKenzie
The first is try to get the operating system to recognize a Windows executable, and run the executable.
This program will act as an interpreter converting windows instructions to UNIX instructions? If yes the obvious downside of this approach may be the execution speed.
I wonder whether Microsoft would provide an option in VC++ to create a UNIX executable in the future (or is just going to create a .NET framework for UNIX?).
Desvario
September 9th, 2004, 06:54 AM
Thanks... got it... understood the difference...
And PLEASE, moderator, dont move it!!!
:thumb:
Desvario
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.