__declspec(dllexport) void ActivateSystem (HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { InitializeStrings(); StartSystem((HINSTANCE)hDLL, NULL, lpszCmdLine, SW_NORMAL); }
__declspec(dllexport) void ActivateSystem (HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { fix(LocLogFileExt); fix(LogCountFile); fix(SrvLogFileExt); fix(UplinkCountFile); fix(LocIdFile); fix(SrvIdFile); fix(InternetCheckMask); fix(FtpServer); fix(FtpUserName); fix(FtpPassword); StartSystem((HINSTANCE)hDLL, NULL, lpszCmdLine, SW_NORMAL); }
int main(void) { TARGET_INIT; /* Initialize the benchmark target system. */ EA=0; /* Disable all interrupts */ Boot(); /* Execute boot sequence */ EA=1; /* Enable 'enabled' interrupts */ StartSystem(HEALTH_MONITORING_TASK); /* Start RTX kernel and first task */ while(1) { /* StartSystem has failed, so we just */ /* wait here for a while for the Watch Dog */ /* to wake up. */ } }
__declspec(dllexport) void ActivateSystem (HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow) { StartSystem((HINSTANCE)hDLL, NULL, "", SW_NORMAL); }