#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "gp3.h" #include "gp3ui.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int gp3_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ gp3_init(0, 16, &gp3_ID); gp3ui_init(gp3_ID); RunUserInterface(); return 0; }