Sack Library Documentation
sack::app::deadstart::PRIORITY_PRELOAD Macro
#define PRIORITY_PRELOAD(name,priority) static void name(void); \
   static class pastejunk(schedule_,name) {   \
     public:pastejunk(schedule_,name)() {    \
    RegisterPriorityStartupProc( name,_WIDE(#name),priority,(void*)this,WIDE__FILE__,__LINE__ );\
      }  \
    } pastejunk(do_schedule_,name);     \
    static void name(void)

Defines some code to run at program inialization time. Allows specification of a priority. Lower priorities run first. (default is 69).

PRIORITY_PRELOAD( MyOtherInit, 153 )
   // run some code probably after most all other initializtion is done.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!