• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Porting from Windows to Mac
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting from Windows to Mac


  • Subject: Re: Porting from Windows to Mac
  • From: Stefan Werner <email@hidden>
  • Date: Thu, 30 Oct 2008 20:18:47 +0100


On Oct 30, 2008, at 8:31 AM, Rakesh Singhal wrote:

I have to port a project form windows to Mac. The existing code is in
C++ and classes are inherited from MFC library classes. Do I have any
alternative for MFC in MAC OS?

I have gone through some posting on Apple lists and I found that there
are 2 cross-platform tools Power Plant and Code Warrior.

None of the two. What you want is Xcode (the standard IDE for Mac OS X) and, may I humbly suggest, wxWidgets. wxWidgets is a cross-platform toolkit that is not the same as MFC but probably one of the easiest to port to from MFC:
http://wiki.wxwidgets.org/WxWidgets_For_MFC_Programmers
In fact, it appears that there's even a sed script to convert MFC code to wx code (can't vouch for it, I never tried it: http://wiki.wxwidgets.org/Helpers_For_Automated_Rescue_From_MFC) . wxWidgets uses native controls on both OS X and Windows.


Should you decide to use a Mac OS native API instead of a cross- platform toolkit, use Cocoa.

-Stefan
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Porting from Windows to Mac (From: "Rakesh Singhal" <email@hidden>)

  • Prev by Date: Re: Porting from Windows to Mac
  • Next by Date: Re: Image from font file
  • Previous by thread: Re: Porting from Windows to Mac
  • Next by thread: Re: Porting from Windows to Mac
  • Index(es):
    • Date
    • Thread