#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "cm2100.h" #include "cm2100ui.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int cm2100_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ cm2100_init(0, 1, &cm2100_ID); cm2100ui_init(cm2100_ID); RunUserInterface(); return 0; }