#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "hp3457ui.h" #include "hp3457.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int hp3457_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ hp3457_init(0, 22, &hp3457_ID); hp3457ui_init(hp3457_ID); RunUserInterface(); return 0; }