Mac Carbon |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3523 Location: Zagreb
|
Posted: Sat Apr 12, 2008 1:52 am Post subject: System info |
|
|
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 |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3523 Location: Zagreb
|
Posted: Wed Nov 05, 2008 1:08 am Post subject: |
|
|
cocoadevcentral.com - Checking the User's Mac OS X Version
Code: | SInt32 MacVersion;
if (Gestalt(gestaltSystemVersion, &MacVersion) == noErr) {
...
|
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3523 Location: Zagreb
|
Posted: Mon Dec 08, 2008 12:08 am Post subject: |
|
|
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 |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3036 Location: Europe
|
Posted: Thu Nov 07, 2013 12:48 am Post subject: |
|
|
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 |
|
|
|