search for: system_info

Displaying 4 results from an estimated 4 matches for "system_info".

2011 Feb 08
2
WSAStartup failure
...only to get "The Windows Sockets version requested is not supported" on my Vista box. Is it really not supported on Vista? The docs say Win2k or later. Or is there another issue? require ''windows/wsa'' require ''windows/error'' require ''windows/system_info'' include Windows::WSA include Windows::Error include Windows::SystemInfo begin version = MAKEWORD(2,2) buffer = 0.chr * 532 err = WSAStartup(version, buffer) if err != 0 puts "Oops: " + get_last_error(err) end ensure WSACleanup() end
2009 Jul 06
8
[PATCH] Fix xentop on pv-ops domain0
Xentop encounters error in pv-ops domain0, because the VBD path in sysfs changes to "/sys/devices" Also delete the macro in xenstat_netbsd.c, because it is not used. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Best Regards, -- Dongxiao _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2007 Oct 09
5
Playing with ReadFileScatter()
...to pass in a packed data structure of some sort. Any ideas? BTW, you''ll want to grab the latest windows-pr from CVS in order to run this code. Thanks, Dan # WinIO.readlines require ''windows/handle'' require ''windows/error'' require ''windows/system_info'' require ''windows/nio'' require ''windows/file'' class WinIO extend Windows::Error extend Windows::Handle extend Windows::NIO extend Windows::File extend Windows::MSVCRT::IO extend Windows::SystemInfo include Windows::File...
2006 Oct 06
13
Need some help with latest win32-mmap
Hi all, I''ve got the latest win32-mmap code checked into CVS. Unfortunately, it seems that I''m not able to open an existing mapping and retrieve set data. Below is a simple example that seems like it ought to work but doesn''t. Any ideas? # map1.rb require ''win32/mmap'' include Win32 mmap = MMap.new(:name => ''alpha'', :size