#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "dac488hr.h" #include "dac488hrui.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int dac488hr_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ dac488hr_init(0, 8, &dac488hr_ID); dac488hrui_init(dac488hr_ID); RunUserInterface(); return 0; }