#include <v/vos2.h>             // for OS/2 stuff
#include <v/vapp.h>             // my header file
#include <v/vwindow.h>          // Win header
#include <v/vfont.h>            // for font stuff

int AppMain(int, char**);
int CMain(int argc, char** argv);
void vRegisterAppMain( int (*)(int, char**) );

//======================>>> Main <<<======================================
  int main(int argc, char** argv)
  {
    // pass the address of your AppMain to the V library.
    vRegisterAppMain(AppMain);

    // call CMain as in the static library.
    return CMain(argc, argv);
  }
