A way to tell cross-platform?

Everything else that doesn't fall into one of the other PB categories.
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

A way to tell cross-platform?

Post by Perkin »

Hi, I've searched the forum but haven't found any topics to help me. :(

Is there any way to check a source/project for cross-platform compatability, perhaps even reporting which commands are used which prevent compatability.

I've done a couple of small progs for Windows and am now thinking of trying to convert them for Linux/Mac and would like to see what commands, procedures, gadgets etc. would need to be adapted for use on other OS's.

Any Ideas?

TIA
Perkin
%101010 = $2A = 42
akj
Enthusiast
Enthusiast
Posts: 668
Joined: Mon Jun 09, 2003 10:08 pm
Location: Nottingham

Re: A way to tell cross-platform?

Post by akj »

@Perkin:

For starters, try this:
Access the PureBasic Help window and select Contents -> Additional Informations (sic)
Then in the right-hand pane click on Platform-dependant Functions
Anthony Jordan
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: A way to tell cross-platform?

Post by Foz »

The biggest issue you will face is the gui. ALL controls are different sizes across different OS's. With Linux it gets even worse.

For an example of what I'm talking about, load the gadgets.pb example. Perfect on windows, not so good elsewhere.

This is something I'm battling at the moment (I use Linux almost exclusively, but need to develop for windows). I have an idea to fix the issue, and am working on a tool to fix it, but it's slow going.
User avatar
luis
Addict
Addict
Posts: 3895
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: A way to tell cross-platform?

Post by luis »

Foz wrote:The biggest issue you will face is the gui. ALL controls are different sizes across different OS's. With Linux it gets even worse.
Hi Foz, in case you missed this post:

http://www.purebasic.fr/english/viewtop ... 12&t=38349
"Have you tried turning it off and on again ?"
Foz
Addict
Addict
Posts: 1359
Joined: Tue Nov 13, 2007 12:42 pm
Location: Manchester, UK

Re: A way to tell cross-platform?

Post by Foz »

No, not missed, that post is the foundation of my tool :D
Perkin
Enthusiast
Enthusiast
Posts: 504
Joined: Thu Jul 03, 2008 10:13 pm
Location: Kent, UK

Re: A way to tell cross-platform?

Post by Perkin »

Although the display problems are hugely different, I'm not too overly concerned with their compatability, what I'm try to solve is to see which commands used out of all my program is either missing or incompatable with the other OS's.

(So I know how much work I'll have to do to get a reasonably 'working' version)
I already knew of the list in the help file, but what about any other commands etc.
%101010 = $2A = 42
Post Reply