Initializes the Object Support Library.


OSErr AEObjectInit(void);

Return Value

A result code. See Result Codes.


You must call this function before calling any of the Apple Event Manager functions that describe or manipulate Apple event objects.

You should call the AEObjectInit function to initialize the Apple Event Manager functions that handle object specifiers and Apple event objects.


To make these functions available to your application with version 1.01 and earlier versions of the Apple Event Manager, you must also link the Apple Event Object Support Library with your application when you build it. For more information, see the Version Notes section for the AppleScript Gestalt Selector described in Inside macOS: Gestalt Manager Reference and the function AERemoveSpecialHandler.

See Also

Initializing the Object Support Library


Specifies the object callback functions for your application.