Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Porting MFC to Linux

Porting MFC to Linux

Scheduled Pinned Locked Moved The Lounge
c++sysadminlinux
10 Posts 8 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bram van Kampen
    wrote on last edited by
    #1

    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

    J N N M N 5 Replies Last reply
    0
    • B 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

      J Offline
      J Offline
      John M Drescher
      wrote on last edited by
      #2

      This kind of stuff has a good chance to run fine under wine so you may not need to port.

      John

      1 Reply Last reply
      0
      • B 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

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #3

        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

        L J 2 Replies Last reply
        0
        • B 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

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #4

          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.

          utf8-cpp

          1 Reply Last reply
          0
          • N Nish Nishant

            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

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • B 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

              M Offline
              M Offline
              Member 96
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              • B 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

                N Offline
                N Offline
                NormDroid
                wrote on last edited by
                #7

                OMG you're still using MFC, WOW :rolleyes:

                Software Kinetics Wear a hard hat it's under construction
                Metro RSS

                D 1 Reply Last reply
                0
                • N NormDroid

                  OMG you're still using MFC, WOW :rolleyes:

                  Software Kinetics Wear a hard hat it's under construction
                  Metro RSS

                  D Offline
                  D Offline
                  Divya Rathore
                  wrote on last edited by
                  #8

                  So?

                  N 1 Reply Last reply
                  0
                  • D Divya Rathore

                    So?

                    N Offline
                    N Offline
                    NormDroid
                    wrote on last edited by
                    #9

                    Problem?

                    Software Kinetics Wear a hard hat it's under construction
                    Metro RSS

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      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

                      J Offline
                      J Offline
                      John M Drescher
                      wrote on last edited by
                      #10

                      I recommend Qt. It was pretty easy for me as a 10+ year MFC programmer to move all of my development to Qt.

                      John

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups