FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveMac / FivePhone (iPhone, iPad) Porting existing code to FiveWin Mac
Posts: 105
Joined: Fri Jun 09, 2006 03:27 PM
Porting existing code to FiveWin Mac
Posted: Thu Jan 23, 2014 04:18 PM

I am interested in taking my current applications to the Mac platform and have a few questions on how this is implemented:

  1. What compiler is used with FiveWin Mac?
  2. Does the compiler run on windows machine or must I use it on a Mac? I know I need a Mac for testing, but in development?
  3. Can I use the same dialog resources (I use resedit and create .rc file) for the Mac version or do they need to be rebuilt in another Mac-version editor?
  4. Any other tools required to finalize a mac version?
  5. Coding changes required ?

Thanks,
Greg

Regards,

Greg Gammon
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Porting existing code to FiveWin Mac
Posted: Thu Jan 23, 2014 05:55 PM
Greg,

To quickly port your existing FWH apps to Mac simply use:

http://winebottler.kronenberg.org/

FiveMac is to be used to create native Mac apps, but you can not take an existing FWH app and recompile with it. Knowing FiveWin then you already know FiveMac, but it has its differences are Mac and Windows are different too
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 105
Joined: Fri Jun 09, 2006 03:27 PM
Re: Porting existing code to FiveWin Mac
Posted: Thu Jan 23, 2014 08:16 PM

Actually I do want to create the Windows APP I have now into a Native Mac APP, so I need to know the tools to use per the questions I asked.
Thanks!
G

Regards,

Greg Gammon
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Porting existing code to FiveWin Mac
Posted: Fri Jan 24, 2014 12:14 AM

Greg,

  1. What compiler is used with FiveWin Mac?

Apple's free xcode gcc

  1. Does the compiler run on windows machine or must I use it on a Mac? I know I need a Mac for testing, but in development?

It only works on a Mac and you can only develop and test on a Mac

  1. Can I use the same dialog resources (I use resedit and create .rc file) for the Mac version or do they need to be rebuilt in another Mac-version editor?

Apple provide its own resources editor, but it is quite different to the ones that you may have used in Windows.

  1. Any other tools required to finalize a mac version?
    A source code editor of your choice.

  2. Coding changes required ?
    Yes, many. You can not take a FWH app and recompile it with FiveMac. If you post a screenshot of your app, we could
    provide you some more thoughts about what to change, etc

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 105
Joined: Fri Jun 09, 2006 03:27 PM
Re: Porting existing code to FiveWin Mac
Posted: Fri Jan 24, 2014 12:40 AM

Excellent info. This gives me a much clearer concept of the challenge.
Thanks!
G

Regards,

Greg Gammon

Continue the discussion