Does mac PB support some kind of APi commands ?

Mac OSX specific forum
User avatar
eddy
Addict
Addict
Posts: 1479
Joined: Mon May 26, 2003 3:07 pm
Location: Nantes

Does mac PB support some kind of APi commands ?

Post by eddy »

Does mac PB support some kind of APi commands if you want to code OS-specific functions ? (like GetClientRect_() for windows)
What is it based on ? (For windows, there's win32.hlp file )
Imagewin10 x64 5.72 | IDE | PB plugin | Tools | Sprite | JSON | visual tool
Fred
Administrator
Administrator
Posts: 18397
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Does mac PB support some kind of APi commands ?

Post by Fred »

Yes, but very few (just the one we use for the IDE). That said, you can add yours trough .pbl (use the pbsomaker tool). It's based on Carbon and such.
User avatar
michel51
Enthusiast
Enthusiast
Posts: 290
Joined: Mon Nov 21, 2005 10:21 pm
Location: Germany

Re: Does mac PB support some kind of APi commands ?

Post by michel51 »

Fred wrote:Yes, but very few (just the one we use for the IDE). That said, you can add yours trough .pbl (use the pbsomaker tool). It's based on Carbon and such.
Hi Fred,
can you share a list of the Mac Os Api you are using?
Because double calling / defining occures an error.
With this list one can save much double work :-)
michel51

Mac OS X Snow Leopard (10.6.8 ) Intel
PureBasic V 5.21(x64), V 5.22beta
Fred
Administrator
Administrator
Posts: 18397
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Does mac PB support some kind of APi commands ?

Post by Fred »

True, i will see what can be done.
Post Reply