search for: lstrcmpi

Displaying 6 results from an estimated 6 matches for "lstrcmpi".

2013 Aug 29
5
[PATCH 1/6] Rationalise whitespace to 4 space indentation with no trailing spaces
...p://demosten-eng.blogspot.com/2008/08/mingw-and-unicode-support.html */ TCHAR **argv; - argv = CommandLineToArgvW (GetCommandLineW (), &argc); - - SERVICE_TABLE_ENTRY DispatchTable[] = { - { - SVCNAME, - (LPSERVICE_MAIN_FUNCTION) SvcMain - }, - { NULL, NULL } - }; - - if( - lstrcmpi( - argv[1], - TEXT("install") - ) == 0 - ) { - SvcInstall(); - return EXIT_SUCCESS; - } - - if (!StartServiceCtrlDispatcher( DispatchTable )) - { - SvcReportEvent(TEXT("StartServiceCtrlDispatcher")); - return EXIT_FAILURE; + argv = CommandLineToArgvW (...
2013 Aug 21
2
[PATCH 1/3] Rationalise whitespace to 4 space indentation with no trailing spaces
...p://demosten-eng.blogspot.com/2008/08/mingw-and-unicode-support.html */ TCHAR **argv; - argv = CommandLineToArgvW (GetCommandLineW (), &argc); - - SERVICE_TABLE_ENTRY DispatchTable[] = { - { - SVCNAME, - (LPSERVICE_MAIN_FUNCTION) SvcMain - }, - { NULL, NULL } - }; - - if( - lstrcmpi( - argv[1], - TEXT("install") - ) == 0 - ) { - SvcInstall(); - return EXIT_SUCCESS; - } - - if (!StartServiceCtrlDispatcher( DispatchTable )) - { - SvcReportEvent(TEXT("StartServiceCtrlDispatcher")); - return EXIT_FAILURE; + argv = CommandLineToArgvW (...
2013 Nov 18
7
RHSrvAny: Fix failure on Windows 2003
The newly rebuilt RHSrvAny worked on Windows XP, Windows 2003 R2, and Windows Vista+, but segfaulted on Windows 2003. After much investigation, the issue seems to have been with inconsistent use of Unicode. This series fixes compilation on Microsoft Visual C++ 2010 (the most recent version which runs on Windows 2003), fixes all compiler warnings, and enabled warnings during the build. The
2001 Sep 10
0
Ogg Open Crash
.... To my suprise it does not work, only a crash when calling the function ov_open(...). Below is the code snippet i use, everything else works fine, its the ov_open function that crashes. May you can give me any help? (Oh... and hit the carriage return now and then, eh? ;-) > -------- > if( lstrcmpi( Filename+lstrlen(Filename)-3, "ogg" ) == 0 ) > { > OggVorbis_File vf; > > file = fopen( Filename, "rb" ); > if( !file ) return; > > memset(&vf, 0, sizeof(vf)); > if( ov_open( file, &vf, NULL, 0 ) < 0 ) // CRASH > { > Wa...
2007 Jan 25
0
Wine release 0.9.30
...d details in description function MultiByteToWideChar and WideCharToMultiByte. wineconsole: Add support for non-latin symbols with curses. kernel32: Add comment for GetConsoleWindow. cmd: Remove incorrect return in WCMD_if(). cmd: In function WCMD_goto() changed strcmp() to lstrcmpi(). Andrew Talbot (33): imaadp32.acm: Remove unused function. itss: Declare a function static. kernel32: Declare some functions static. msg711.acm: Remove unused function. msadp32.acm: Remove unused function. itss: Remove unused variable and associated dead code....
2009 Jan 16
0
Wine release 1.1.13
...ypo in test output. ole32: Fix some comment typos. ole32: Some tests for IMoniker::IsRunning with NULL args. kernel32: Implemented GetErrorMode(). ntdll: Check pointers in NtAccessCheck to prevent access violation. kernel32/tests: Some todo tests for CompareStringA and lstrcmpi. advapi32/tests: Test for enumeration order preservation of reg keys. advapi32: Added SaferCreateLevel stub. Paul Bryan Roberts (1): libwine: Avoid writing to repository during install. Paul Vriens (24): d3d8/tests: Fix a test failure on VMware and VirtualBox. shdocv...