#include "xps_c8_ui.h" #include #include #include "xps_c8.h" #include "xps_c8param.h" int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow) { XPS_PARAM nXPC_param; XPS_2DGROUP nXPS2Dparam [XPS_NUM_OF_2D_GROUPS]; // Fill param structure here to avoid compiling all big UI files upon changing any parameter xps_c8_fill_param_struct(&nXPC_param,nXPS2Dparam); //and send them to global variable at driver xps_c8_set_param( nXPC_param, nXPS2Dparam); if (InitCVIRTE(hInstance, 0, 0) == 0) // Needed if linking in external compiler; harmless otherwise return -1; // out of memory xps_c8ui_init(); RunUserInterface(); return 0; }