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. General Programming
  3. C / C++ / MFC
  4. MFC porting to MacOS X

MFC porting to MacOS X

Scheduled Pinned Locked Moved C / C++ / MFC
c++toolsquestion
10 Posts 4 Posters 2 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.
  • A Offline
    A Offline
    Anthony_Yio
    wrote on last edited by
    #1

    Hello all, does anyone here know of any tools that could port MFC codes or libraries to MacOS X Jaguar? Some URLs would be great. :) Thank you

    RaviBeeR M 2 Replies Last reply
    0
    • A Anthony_Yio

      Hello all, does anyone here know of any tools that could port MFC codes or libraries to MacOS X Jaguar? Some URLs would be great. :) Thank you

      RaviBeeR Offline
      RaviBeeR Offline
      RaviBee
      wrote on last edited by
      #2

      For serious xplatform GUI development, I recommend Qt[^]. Not cheap, but worth it imho. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

      R A 2 Replies Last reply
      0
      • RaviBeeR RaviBee

        For serious xplatform GUI development, I recommend Qt[^]. Not cheap, but worth it imho. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

        R Offline
        R Offline
        ROK_RShadow
        wrote on last edited by
        #3

        I have been messing around with wxWindows. In my opinion its a great library. the syntax is very similar to MFC, so MFC coders will take to it right away. Best of all its.. FREE. Most of my MFC apps I have successfully converted to wxWindows, and with very little effort have compiled them under Win32, Mac, and Linux. It might be worth a try. http://www.wxwindows.org[^] ----- IMHO: C# a poor attempt at bringing C++ to the VB masses -----

        RaviBeeR 1 Reply Last reply
        0
        • RaviBeeR RaviBee

          For serious xplatform GUI development, I recommend Qt[^]. Not cheap, but worth it imho. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

          A Offline
          A Offline
          Anthony_Yio
          wrote on last edited by
          #4

          It is a good tools indeed but so sad that we had started our project in MFC :(( but still, a big thanks

          1 Reply Last reply
          0
          • R ROK_RShadow

            I have been messing around with wxWindows. In my opinion its a great library. the syntax is very similar to MFC, so MFC coders will take to it right away. Best of all its.. FREE. Most of my MFC apps I have successfully converted to wxWindows, and with very little effort have compiled them under Win32, Mac, and Linux. It might be worth a try. http://www.wxwindows.org[^] ----- IMHO: C# a poor attempt at bringing C++ to the VB masses -----

            RaviBeeR Offline
            RaviBeeR Offline
            RaviBee
            wrote on last edited by
            #5

            Yes, I've heard good things about wxWindows too, although I haven't used it personally. /ravi Let's put "civil" back in "civilization" http://www.ravib.com ravib@ravib.com

            1 Reply Last reply
            0
            • A Anthony_Yio

              Hello all, does anyone here know of any tools that could port MFC codes or libraries to MacOS X Jaguar? Some URLs would be great. :) Thank you

              M Offline
              M Offline
              Maximilien
              wrote on last edited by
              #6

              If your application is already coded in MFC, too bad, you will need to restructurize everything, extract all GUI stuff from the core code. The 2 models are quite different, and the UI toolkit work differently; not just the UI, but also the file system. Depending on the size of the application, it can be a huge task; once you start doing it, you can't really stop, it's like a one way tunnel, you cannot back away without loosing a ton of money and time. I used to work for a company that had an MFC application (graphical application, lots of UI )that needed to run on Mac OS X, and we figured it would take about 1 year with 6/7 programmers to do it, part of it was that we decided to use Apple's Objective-C language instead of straight C++ for the UI (Cocoa). Max.


              Maximilien Lincourt For success one must aquire one's self

              R 1 Reply Last reply
              0
              • M Maximilien

                If your application is already coded in MFC, too bad, you will need to restructurize everything, extract all GUI stuff from the core code. The 2 models are quite different, and the UI toolkit work differently; not just the UI, but also the file system. Depending on the size of the application, it can be a huge task; once you start doing it, you can't really stop, it's like a one way tunnel, you cannot back away without loosing a ton of money and time. I used to work for a company that had an MFC application (graphical application, lots of UI )that needed to run on Mac OS X, and we figured it would take about 1 year with 6/7 programmers to do it, part of it was that we decided to use Apple's Objective-C language instead of straight C++ for the UI (Cocoa). Max.


                Maximilien Lincourt For success one must aquire one's self

                R Offline
                R Offline
                ROK_RShadow
                wrote on last edited by
                #7

                with wxWindows this is not entirely true. I have ported several of my MFC apps to wxWindows with realitive ease. I would say at least a little over half of my code was as simple as changing "C"xxx to "wx"xxx. Most of the wxWindows library is structured after MFC; so most of the syntax is the same. The only problem you have, is if your code contains lot of OS specefic code or API calls. ----- IMHO: C# a poor attempt at bringing C++ to the VB masses -----

                A 1 Reply Last reply
                0
                • R ROK_RShadow

                  with wxWindows this is not entirely true. I have ported several of my MFC apps to wxWindows with realitive ease. I would say at least a little over half of my code was as simple as changing "C"xxx to "wx"xxx. Most of the wxWindows library is structured after MFC; so most of the syntax is the same. The only problem you have, is if your code contains lot of OS specefic code or API calls. ----- IMHO: C# a poor attempt at bringing C++ to the VB masses -----

                  A Offline
                  A Offline
                  Anthony_Yio
                  wrote on last edited by
                  #8

                  I had tried the WxWindows. But I have this little problem here. LINK : fatal error LNK1104: cannot open file "wxxrcd.lib" This was shown during compilation. I do not know where to get this lib. Other png.lib and etc are ok except this one. Any idea?

                  A 1 Reply Last reply
                  0
                  • A Anthony_Yio

                    I had tried the WxWindows. But I have this little problem here. LINK : fatal error LNK1104: cannot open file "wxxrcd.lib" This was shown during compilation. I do not know where to get this lib. Other png.lib and etc are ok except this one. Any idea?

                    A Offline
                    A Offline
                    Anthony_Yio
                    wrote on last edited by
                    #9

                    I think i found it already. thank you. quite cool. :)

                    R 1 Reply Last reply
                    0
                    • A Anthony_Yio

                      I think i found it already. thank you. quite cool. :)

                      R Offline
                      R Offline
                      ROK_RShadow
                      wrote on last edited by
                      #10

                      I don't know if you have solved this problem, but make sure that you compile all of the wxWindows library. I have never had that problem. ----- IMHO: C# a poor attempt at bringing C++ to the VB masses -----

                      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