Porting MFC to Linux
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
This kind of stuff has a good chance to run fine under wine so you may not need to port.
John
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
A direct MFC port would be impossible (outside of using Wine as was mentioned in this thread already). You might consider a re-write using something like QT (you may be able to reuse part of the non-UI code).
Regards, Nish
My technology blog: voidnish.wordpress.com
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
Bram van Kampen wrote:
Our code is written using the MS VC5++ compiler, and using MFC42.
And you are complaining about MS moving too quickly? Try using something built with GNU tools of that time on modern Linux.
-
A direct MFC port would be impossible (outside of using Wine as was mentioned in this thread already). You might consider a re-write using something like QT (you may be able to reuse part of the non-UI code).
Regards, Nish
My technology blog: voidnish.wordpress.com
Nishant Sivakumar wrote:
A direct MFC port would be impossible (outside of using Wine as was mentioned in this thread already). You might consider a re-write using something like QT (you may be able to reuse part of the non-UI code).
Hey, hey, hey! Shouldn't you be pushing the VCF barrow on behalf of our fellow Trugger member. My memory says it supported Linux as well as Windows.
Michael Martin Australia "I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
I would suggest you widen your horizons a little on that one. If you want to truly get out of the O.S. rat race you would do well to look at the possibility of an html / javascript solution, personally I think nearly everything that can go that way will in the not too distant future. Your biggest problem no matter what you do might be re-architecting your app because I did a lot of coding in that era with that type of technology and separation of UI from backend was pretty far back on the list of things to think about in those days, in fact not at all for the most part; but it's foremost to me now always. If you have a portable backend the front end becomes a much easier and more rewarding thing to work on in different platforms.
There is no failure only feedback
-
Hi, Microsoft upgrades their Operating Systems faster than that we can afford to upgrade our applications, None of the upgrades beyond XP has given us any benefits, and we want to get out of the rat race. Our clients use our software on dedicated terminals.Most use Stand Alone Terminals, but some are connected to a local (Peer to Peer) network, not attached to the Internet. We are now looking at Linux as an alternative OS. Our code is written using the MS VC5++ compiler, and using MFC42. All code is Dialog based, and transactions are implemented thru File Sharing Does anyone have any experience in porting something like this (hopefully with the same MFC Binaries) to Linux. Regards :) :)
Bram van Kampen
-
OMG you're still using MFC, WOW :rolleyes:
Software Kinetics Wear a hard hat it's under construction
Metro RSSSo?
-
So?
-
A direct MFC port would be impossible (outside of using Wine as was mentioned in this thread already). You might consider a re-write using something like QT (you may be able to reuse part of the non-UI code).
Regards, Nish
My technology blog: voidnish.wordpress.com
I recommend Qt. It was pretty easy for me as a 10+ year MFC programmer to move all of my development to Qt.
John