Bull DPX/20 Betriebsanweisung Seite 24

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 424
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 23
1-12 SOMobjects Base Toolkit: Programmers Reference Manual
somEnvironmentEnd Function
Purpose
Provides general cleanup for applications.
Syntax
void somEnvironmentEnd ( );
Description
The somEnvironmentEnd function is a general cleanup function that must be called by all
Windows applications before exiting. AIX and OS/2 programs may also invoke this function,
but it is not required on these systems because all necessary SOM cleanup is performed by
the operating system during program termination.
A convenience macro, SOM_MainProgram, which usually appears at the beginning of each
application, adds the somEnvironmentEnd function to the “atexit” list. If the “atexit”
mechanism does not work reliably with your compiler, or if you know that your program
bypasses the normal program termination sequence, you should insert an explicit call to
somEnvironmentEnd at the point where your main program exits. (All main programs for
Windows must begin either with the SOM_MainProgram macro or with a call to the
somMainProgram function.)
Related Information
Macros: SOM_MainProgram
Seitenansicht 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 423 424

Kommentare zu diesen Handbüchern

Keine Kommentare