#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "teletrac.h" #include "teletracui.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int teletrac_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ teletrac_init(0, 03, &teletrac_ID); teletracui_init(teletrac_ID); RunUserInterface(); return 0; }