Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

System info

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon
Mac Carbon  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Sat Apr 12, 2008 1:52 am    Post subject: System info Reply with quote

Mohit Muthanna: How OS X Executes Applications

"An typical OS X executable generally has five segments:

__PAGEZERO : Located at virtual memory address 0 and has no protection
rights. This segment occupies no space in the file, and causes access to
NULL to immediately crash.
__TEXT : Contains read-only data and executable code.
__DATA : Contains writable data. These sections are generally marked
copy-on-write by the kernel.
__OBJC : Contains data used by the Objective C language runtime.
__LINKEDIT : Contains raw data used by the dynamic linker."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Nov 05, 2008 1:08 am    Post subject: Reply with quote

cocoadevcentral.com - Checking the User's Mac OS X Version

Code:
SInt32 MacVersion;

if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr)  {
...
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Mon Dec 08, 2008 12:08 am    Post subject: Reply with quote

MF - How To Check Computer Type / OS?

"what methods are available to check the computer type or OS of which the
application is running?"
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Thu Nov 07, 2013 12:48 am    Post subject: Reply with quote

adc - Carbon Framework Release Notes

"Sudden Termination - When Sudden termination is enabled (either using
the NSSupportsSuddenTermination key in the application’s Info.plist file or
the NSProcessInfo method enableSuddenTermination), the app can be ter-
minated immediately, without sending the kAEQuitApplication AppleEvent.

Sudden termination is automatically disabled when a window’s close box
shows the modified state indicator (via the SetWindowModified API)."
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group