Bull DPX/20 Uživatelská příručka Strana 24

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 423 424

Komentáře k této Příručce

Žádné komentáře