Important: The information in this document is obsolete and should not be used for new development.
Initializing Additional MacApp Units
If your application uses any MacApp units that are not initialized byDoInitUMacApp
, such as MacApp's Drag Manager support or PowerTalk mailer support, you initialize them in yourmain
routine after the call toInitUMacApp
, as shown here:
InitUMacApp(4); // Initialize MacApp with 4 calls to MoreMasters. #if qDrag if (HasDragManager()) InitUDragManager(); #endif #if qPowerTalk if (HasAOCEToolBox()) InitUMailer(); #endifThe HasDragManager routine is defined in the UDragDrop unit and the HasAOCEToolBox routine is defined in the UMailable unit. These global routines check whether the required feature is available in the current machine configuration.For information on how to build your application with Drag Manager or PowerTalk support, see Appendix A.