FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Off Topic / Otros temas WinBottler - Turn your Windows apps into Apple ones
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Thu Feb 11, 2010 09:28 AM

Massimo,

We are going to review (hopefully today) how fast we can have those classes ready :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Thu Feb 11, 2010 10:46 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Thu Feb 11, 2010 10:58 AM

Great news !!!
Give me a sign when Fivemac is ready for printing, and I'll place the order.
Thanks a lot.
Massimo.
P.S. One little question. In Windows, for making the dialogs, we use the Resource
Workshop. In Mac, what can we use ? And for the dialogs already made, is possible
to import them in the new system ?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Thu Feb 11, 2010 11:33 PM
It may be more complex than we thought but we already have some progress :-)

Code (fw): Select all Collapse
#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Thu Feb 11, 2010 11:42 PM

Massimo,

OSX provides "Interface Builder" to draw the resources but they use a different format than the used in Windows.

Actually coordinates have to be copied "by hand" though we could have a tool in the future to do it automatically.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Fri Feb 12, 2010 07:16 AM

Wow, you're great !!!
Is there the possibility to start to develop with a beta release ?
Thanks a lot a many compliments for your work.
Fivemac is like LOST. Every moment there is surprise :lol: :lol: :lol:
Massimo.
P.S. If you give me some hints, I can help you to convert some classes to Fivemac.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Sat Feb 13, 2010 12:37 PM
Massimo,

Still a (long?) way to go, but we are already printing and OSX provides the preview automatically! :-)

TestPrn.prg
Code (fw): Select all Collapse
#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil

function PrinterPaint()

   DrawText( 50, 200, "Printing from FiveMac", CreateFont( "Arial", 20 ) )
   
return nil

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Sat Feb 13, 2010 06:00 PM

WOW :P :P :P
Another great step. Great work Antonio. I'll send you a beer.
Have a nice weekend.
Massimo.

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Sat Feb 13, 2010 06:39 PM

Massimo,

Windows, OSX and Linux are quite different worlds when we compare their GUIs APIs.

So there is no a straight way to port Windows code to OSX (cocoa) code. In fact, we use FiveWin as a compatibility layer between all of them. FiveWin/FiveMac/FiveLinux set a compatibility wrapper that easier the work of the programmer, and also offers a cross platform learning as once you know how to code in FiveWin you are ready for FiveMac and FiveLinux too :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Sun Feb 14, 2010 09:44 AM
Using colors:
Code (fw): Select all Collapse
#include "FiveMac.ch"

function Main()

   PrinterSelect()

return nil

function PrinterPaint()

   DrawText( 50, 150, "Printing from FiveMac", CreateFont( "Arial", 20 ), CLR_BLUE() )
   DrawText( 50, 200, "Printing from FiveMac", CreateFont( "Verdana", 20 ), CLR_GREEN() )
   DrawText( 50, 250, "Printing from FiveMac", CreateFont( "Times Roman", 20 ), CLR_RED() )
   
return nil

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 512
Joined: Mon Oct 17, 2005 10:38 AM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Sun Feb 14, 2010 10:19 AM

Are you working today ? Your wife will not be happy...
Have a nice day.
Massimo.
P.S. You're making an incredible work. Compliments :P :P :P

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: WinBottler - Turn your Windows apps into Apple ones
Posted: Mon Apr 01, 2013 04:59 PM
Another utility to run Windows apps on Mac OSX:

http://www.winonx.com/

I have not tested it myself yet. I think it may the same technology as WinBottler with the difference that WinOnx is a commercial product, but I may be wrong...
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion