diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-09 03:44:48 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-09 03:44:48 +0000 |
commit | ede6f592b3d2b109e8c59c07c00f11b248eaeda5 (patch) | |
tree | 5e89e38fd9193b9c486cc936a9488702f4f8111e /cppe/demo/IceE/latency/WinCEServer.cpp | |
parent | Fixed a few build errors (diff) | |
download | ice-ede6f592b3d2b109e8c59c07c00f11b248eaeda5.tar.bz2 ice-ede6f592b3d2b109e8c59c07c00f11b248eaeda5.tar.xz ice-ede6f592b3d2b109e8c59c07c00f11b248eaeda5.zip |
cleanup. CE demos now use config.txt
Diffstat (limited to 'cppe/demo/IceE/latency/WinCEServer.cpp')
-rwxr-xr-x | cppe/demo/IceE/latency/WinCEServer.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cppe/demo/IceE/latency/WinCEServer.cpp b/cppe/demo/IceE/latency/WinCEServer.cpp index 371e591106c..4fb312359f4 100755 --- a/cppe/demo/IceE/latency/WinCEServer.cpp +++ b/cppe/demo/IceE/latency/WinCEServer.cpp @@ -97,8 +97,8 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmd height = 200; } HWND mainWnd = CreateWindow(windowClassName, L"Latency Server", WS_VISIBLE|WS_OVERLAPPED|WS_SYSMENU|WS_SIZEBOX, - CW_USEDEFAULT, CW_USEDEFAULT, width, height, - NULL, NULL, hInstance, NULL); + CW_USEDEFAULT, CW_USEDEFAULT, width, height, + NULL, NULL, hInstance, NULL); if(mainWnd == NULL) { MessageBox(NULL, L"Window Creation Failed!", L"Error!", MB_ICONEXCLAMATION | MB_OK); @@ -125,11 +125,12 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmd properties->setProperty("Latency.Endpoints","tcp -p 10000"); // - // Now, load the configuration file if present. + // Now, load the configuration file if present. Under WinCE we + // use "config.txt" since it can be edited with pocket word. // try { - properties->load("config"); + properties->load("config.txt"); } catch(const Ice::FileException&) { |