#include #include /* Needed if linking in external compiler; harmless otherwise */ #include #include "hp3458ui.h" #include "hp3458.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { int hp3458_ID; if (InitCVIRTE(hInstance, 0, 0) == 0) /* Needed if linking in external compiler; harmless otherwise */ return -1; /* out of memory */ hp3458_init(0, 24, &hp3458_ID); hp3458ui_init(hp3458_ID); RunUserInterface(); return 0; }