search for: _handle_

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

Did you mean: _handle
2008 Apr 30
8
Playing with NtQueryInformationFile
...;') # http://msdn.microsoft.com/en-us/library/cc232064.aspx FileNameInformation = 9 FileStandardInformation = 5 STATUS_SUCCESS = 0 fh = File.open(''test.txt'', ''w'') fh.puts "hello" handle = get_osfhandle(fh.fileno) if handle == INVALID_HANDLE_VALUE puts "ERROR, get_osfhandle() : " + get_last_error fh.close rescue nil File.delete(''test.txt'') exit end # Excessive but harmless (?) io_status_block = 0.chr * 512 file_information = 0.chr * 512 status = NtQueryInformationFile.call( handle, io_sta...
2001 Feb 13
1
X11 device doesn't handle destroy events correcly (PR#848)
...ETE_WINDOW mechanism! This happens when you embed the X11 device into another window/application. For starters, the device no longer receives WM_DELETE_WINDOW client messages. But it does receive a DestroyNotify event when the parent (the container window) is destroyed. HandleEvent should, well _handle_ this _event_. The patch below is a _suggestion_ how to solve both problems. It is against the current r-devel, 1.3, as of 2/13. I believe this behavior exists in version 1.2 as well and can be solved there the same way. The patch is just meant as a convenient and concise way to describe my sugge...
2008 Aug 18
0
Playing with NtQueryInformationFile
...leNameInformation but I can''t get it to work as expected > for FileStandardInformation. > > > > I''m trying to get File::Stat#blksize working. It''s easy > enough when I > > have the file _name_, but I''d like to get it from the file > _handle_ so > > I can make it work properly. > > I''m looking for the allocation size of a file given its name, > actually. > What "easy enough" solution am I blindly missing? Use GetDiskFreeSpace, then multiply the sectors by the bytes. My email is a bit misleading,...
2006 Feb 10
3
sorting <a href..> with D&D follows the link (browser thinks I click)
Hi all, I''ve just added d&d sorting to a list where each item is a link_to .. Problem: when I drop an item to its new location, the browser think I clicked, and follows the link. Any idea? TIA. Alain
2006 Feb 10
1
cannot combine in_place_editor_field and a sortable list
As the title says, _sortable list_ doesn''t like ''in_place_editor'' very much. Problem: when you click on an editable element, the field editor and the 2 buttons appears - good - , BUT they keep following the mouse - bad -, and moving, while you''re in edit mode. Alain
2018 Mar 01
2
Bug report - duplicate row names with as.data.frame()
Hello, I'd like to report what I think is a bug: using as.data.frame() we can create duplicate row names in a data frame. R version 3.4.3 (current stable release). Rather than paste code in an email, please see the example formatted code here: https://stackoverflow.com/questions/49031523/duplicate-row-names-in-r-using-as-data-frame I posted to StackOverflow, and consensus was that we should