search for: createmutex

Displaying 2 results from an estimated 2 matches for "createmutex".

Did you mean: createmutexa
2001 Apr 18
1
Runtime error with winelib and CreateMutex()
...odeweavers-wine-20010305-1.i386.rpm on my RedHat 7.0, which put everything in /opt/wine/. I built the following program (in file hello.cpp): #include <iostream.h> #include <windows.h> int main() { INT i = 0; cout << "i = " << i << endl; HANDLE h = CreateMutex(0, FALSE, "h"); return 0; } compiling with: g++ -o hello -I/opt/wine/include/wine -L/opt/wine/lib -lkernel32 hello.cpp When the executable 'hello' is run, the following is output: i = 0 wine client error:(nil): buffer overflow 16 bytes Anyone know why the line initializi...
2008 May 18
2
Pure win32-thread library?
...ronize'' require ''windows/error'' include Windows module Win32 class Thread include Windows::Thread include Windows::Synchronize include Windows::Error extend Windows::Synchronize class Error < StandardError; end @@mutex = CreateMutex(nil, false, nil) ABOVE_NORMAL = THREAD_PRIORITY_ABOVE_NORMAL BELOW_NORMAL = THREAD_PRIORITY_BELOW_NORMAL HIGHEST = THREAD_PRIORITY_HIGHEST IDLE = THREAD_PRIORITY_IDLE LOWEST = THREAD_PRIORITY_LOWEST NORMAL = THREAD_PRIORITY_NORMAL...