search for: ghnd

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

Did you mean: gend
2006 Feb 02
5
Fwd: win32-clipboard and Unicode zero bytes
Hi all, I''m forwarding this message from Brian Marick. If you run this test script and then paste the results into a Unicode aware text editor, you''ll notice that it only prints one character instead of three. I tried changing the strlen to _tcslen and strcpy to _tcscpy, but that didn''t help. I mucked around a bit with the MultiByteToWideChar function, too, but
2005 Apr 21
9
Screen capture, save to file
...luded in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload "kernel32.dll","user32.dll","gdi32.dll" HORZRES = 8 VERTRES = 10 SRCCOPY = 0xCC0020 GMEM_FIXED = 0 GMEM_MOVEABLE = 0x0002 DIB_RGB_COLORS = 0 GHND = 0x40 GPTR = 0x42 typealias "HDC","unsigned long" typealias "HBITMAP","unsigned long" extern "HDC GetWindowDC(int)" extern "HDC CreateCompatibleDC(HDC)" extern "int GetDeviceCaps(HDC, int)" extern "HBITMAP C...