Link to home
Start Free TrialLog in
Avatar of SilverJade
SilverJade

asked on

Convert Windows Visual C++ MFC code to MAC OS X

I have an application written in Visual C++ MFC with a lot of old code. A number of clients have requested a Mac version of the application. They are not interested in installing Windows on an Intel Mac nor do they wish to utilize Boot Camp, VMware Fusion or Parallels Desktop. They are true Mac diehards.

I know that Cold Warrior has discontinued the development of resources that would compile either Windows or Mac versions of the core code of a program while integrating the appropriate libraries for each OS.

Is there anything out there to replace Code Warrior? Something that would be able to convert Windows Visual C++ with MFC to code, including the corresponding libraries, that then could be compiled for MAC OS X?

Also, is MAC OS X as dependent on OOP and a grand event loop for controlling an application's operation as it was in the past? Is the underlying logical structure of Windows software and MAC software still so foreign to each other that I would end up having to tear apart and rewrite much of the Windows code in order for it to conform to the MAC?

Thank you for your time,
SilverJade
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
jkr is right. you better port to qt before and then put it (port) to mac.

mfc basically is a wrapper to winapi. as mac os x does not support winapi beside in a vm, you would need to make portation at two levels what makes no sense.

Sara

You may try to use Wine (www.winehq.org) as library to provide Windows API on unix-like host (as MacOS is based on BSD).
Avatar of SilverJade
SilverJade

ASKER

Excellent advice… depressingly so. I'm starting to think that MacUsers belong to a cult. They have more than one option to run a Windows application on a Mac, but they don't like the way it looks or they don't want to bother with the extra work to setup an Intel Mac.

Well... I work in both environments (I did a complete rewrite of a Windows program for the Mac in the past) so I guess I should be happy for the extra work, but it does put an imposition on my employer.

Thank you all,
SilverJade.