search for: findnextfile

Displaying 9 results from an estimated 9 matches for "findnextfile".

Did you mean: findnextfilew
2007 Oct 04
0
Prototyping the Dir class
...indFirstFile(), but then I realized that the handle returned by FindFirstFile() isn''t compatible with the handle used for SetFilePointer(), which would make seek/tell difficult to implement. On the other hand, if we use CreateFile(), its handle is not compatible with FindFirstFile() or FindNextFile(), making read/each difficult to implement. I make two refactoring decisions for now - Dir.foreach has been skipped. The Dir.entries now takes an optional block. Dir.open has been skipped. The Dir.new method now takes an optional block. Anyway, suggestions welcome on the code below. BTW, you...
2023 Aug 11
3
R-4.3 version list.files function could not work correctly in chinese
???? ????R-4.3???????????R??????list.files??????????????????????BUG???????????????????????????? r4.3????dir????????????????? - COS??? | ?????? | ?????????????? (cosx.org)<https://d.cosx.org/d/424356-r43ban-ben-zhong-dirhan-shu-huo-qu-bu-liao-quan-bu-wen-jian/11> ??????????????????????? [[alternative HTML version deleted]]
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
...t will be needed to download the R source code and compile it [*], install gdb using pacman (part of Rtools), then set a breakpoint on the list_files function from src/main/platform.c and step through it [**], paying attention to the R_readdir calls. Do the missing file names not even come out from FindNextFile()? Are they somehow skipped around the time of regex match? (I could help with the details of this, maybe off-list, if there's interest.) Unless Tomas Kalibera is able to deduce the root cause from the observed symptoms, someone who can reproduce the problem will have to investigate further....
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Yes, I participated in the discussion. Basically dir() failed to list all files since R 4.3.0 when filenames start with Chinese characters. I don't have a Windows machine to test it, but this might be a minimal reproducible example: file.create("????.R") dir() The OP said dir() would return "????.R" in R.4.2.2 but not in R 4.3.0. In the same discussion another person
2007 Oct 21
0
Taking a stab at a pure Ruby Dir.glob
...# 580 if wide array = [] hfind = FindFirstFile(dirname, fdata) if hfind == INVALID_HANDLE_VALUE raise ArgumentError, get_last_error end file = fdata[44, MAX_PATH].unpack("Z*")[0] array << file if regex.match(file) while FindNextFile(hfind, fdata) file = fdata[44, MAX_PATH].unpack("Z*")[0] array << file if regex.match(file) end error = GetLastError() FindClose(hfind) if(error != ERROR_NO_MORE_FILES) raise get_last_error(error) end unless...
2016 May 16
0
Wine release 1.9.10
...need ntdll.ZwSetLdtEntries stub (kwiksupport.me, Ragnarok Online patcher) 32056 iexplore images.google.com doesn't work 33961 RPC: server crashes during procedure call that returns variable size array as out parameter 34122 Multiple applications expects files returned by FindFirstFile/FindNextFile to be in alphabetical order (Civilization V with 2 expansion packs, TAGAP) 36838 TOCA Touring Car Championship: installer copies one file from CD and then shows an error 37090 Multiple applications crash with built-in amstream (Shogun: Total War, Medieval: Total War) 37926 NordicBet Poker-...
2013 Mar 01
0
Wine release 1.5.25
...ate, due to 'acmFormatChooseW' missing 26775 Ace of Spades: Incomplete Sound 27941 Very slow rendering in sPlan7 29616 1Password crashes while creating a backup 31456 Emulating a virtual screen does not work 31769 windowsx.h macro HANDLE_WM_DISPLAYCHANGE is incorrect 31987 FindNextFile/DeleteFile loop fails for directories with many files 32391 Iexplore crashes play.google.com 32697 Word 2003 crashes on formula edit 32709 The Testament of Sherlock Holmes crashes at launch 32743 putty_arm for jailbroken WinRT needs KERNEL32.dll.GetCurrentPackageId 32798 Memory leak...
2006 Oct 27
0
Wine release 0.9.24
...es for mouse events. user32: Fixed maximized window size on multi-monitor setups. server: Always ignore the root window position when computing coordinates offsets. winex11.drv: Offset X11 coordinates with the primary monitor position. kernel32: Close the directory handle in FindNextFile as soon as we reach the end of the directory. winedump: Avoid some dead code. wined3d: Fix a memory leak (spotted by Eric Pouech). wined3d: The WineD3D_GLContext structure doesn't need to be exported. wined3d: Simplify some uses of the WineD3D_Context object. Andrew Tal...
2006 Nov 10
0
Wine release 0.9.25
...ininet: Store pointer to WININETHTTPSESSIONW in WININETHTTPREQUESTW. wininet: Use lpHttpSession instead of lpwhcalback where possible. wininet: Store WININETAPPINFOW pointer in WININETFTPSESSIONW. wininet: Use lpAppInfo instead of lpwhparent where possible. wininet: Move ftp FindNextFile implementation to ftp.c. wininet: Store WININETFTPSESSIONW pointer in WININETFTPFINDNEXTW. wininet: Store WININETFTPSESSIONW pointer in WININETFTPFILEW. wininet: Remove lpwhparent from WININETHANDLERHEADER. wininet: Store handle in WININETHANDLEHEADER and use it in SendCallb...