search for: getfinalpathnamebyhandl

Displaying 8 results from an estimated 8 matches for "getfinalpathnamebyhandl".

2008 Nov 22
2
GetFinalPathNameByHandle for XP and earlier
...de Windows::Process include Windows::Limits include Windows::Handle include Windows::Error include Windows::Memory # The buf, buf_size, and flags arguments are ignored, but are # present in order to keep the function parameters identical # to the function defined for Windows Vista and later. # def GetFinalPathNameByHandle(handle, buf, buf_size, flags) size_ptr = [0].pack(''Q'') unless GetFileSizeEx(handle, size_ptr) raise get_last_error end if size_ptr.unpack(''Q'')[0] <= 0 raise ''file size must be greater than zero'' end m...
2020 Mar 23
2
Inconsistant result for normalizePath on Windows
Hi all, I saw a quite surprising result in the devel R when using the function *normalizePath*. If the input is a path to a folder, the function returns an absolute path with/without a slash at the end depending on the existence of the folder. I know both results are valid on Windows but this behavior is different than R3.6, I do not know if the change in the devel version is made on purpose.
2020 Mar 23
0
Inconsistant result for normalizePath on Windows
...ng separator is preserved when the path does not exist - simply, the original path is returned. When the path does exist, R-devel removes the trailing separator but R 3.6 does not, which is because the underlying Windows API call to implement it is now different. The new behavior reflects what GetFinalPathNameByHandle returns, which is a function now used for normalization also in other language runtimes on Windows. I think the new behavior is better: paths differing only in the trailing separator will be normalized to the same path. Best Tomas On 3/23/20 4:39 PM, Wang Jiefei wrote: > Hi all, > >...
2020 Apr 14
4
Suggestion/opinions: add a `absolute` param to `normalizePath()` to force returning an absolute path
This request stems off a bug report I posted https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17757 where it was determined the current behaviour is as expected. To recap: when given a real file, normalizePath() always* returns the full absolute path. When given a non-existent file, normalizePath() returns a full path on Windows but it returns the input on other systems*. I'd argue that
2016 Jun 16
0
Wine release 1.8.3
...m installer bundles show a broken/unresponsive dialog window during installation (installer process running out of wndproc slots) 32979 Metal Gear Solid Crash 34070 Simutronics 'StormFront.exe' runs out of wndproc slots (ActiveSkin control) 34851 Multiple applications need kernel32 GetFinalPathNameByHandleA/W (64-bit Autodesk Fusion 360, Microsoft OneDrive) 35054 Dragon Age 2 system diagnostics tool fails to recognize GeForce GT 425M 35092 Multiple 64-bit applications need __CxxFrameHandler implementation (Ableton Live 9.1, Adobe Cloud apps) 35711 Winelib: compile error in wincon.h if NOGDI...
2019 Sep 27
0
Wine release 4.17
...t IScriptControl::AddCode(). Jeff Smith (1): kernelbase: Fix PathAllocCanonicalize handling segments that contain dots. Ken Thomases (2): ntdll: Fix the Mac build with SDKs older than 10.14. include: Always generate CFI directives on macOS. Kevin Puetz (4): winbase.h: Add GetFinalPathNameByHandle declaration. atlbase.h: Add AtlComModuleRevokeClassObjects declaration. winegcc: Correctly pass the '-' file name (stdin) to the compiler. oleaut32: Fix RegisterTypeLib prototype. Matteo Bruni (15): d3dx9: Simplify unsupported format check. d3dx9: Relax a blo...
2016 Apr 15
0
Wine release 1.9.8
...r) 31662 Office 2010 font embedding when exporting to PDF 32007 AMD Demo - Whiteout crashes with null-ish pointer read after dxgi_output_GetDisplayModeList 34070 Simutronics 'StormFront.exe' runs out of wndproc slots (ActiveSkin control) 34851 Multiple applications need kernel32 GetFinalPathNameByHandleA/W (64-bit Autodesk Fusion 360, Microsoft OneDrive) 35054 Dragon Age 2 system diagnostics tool fails to recognize GeForce GT 425M 37460 Sid Meier's Civilization: Beyond Earth (Steam) crashes on startup 39444 Fifa 2005 Demo version - black and flashing screen 39573 GImageX v2.1.1 (g...
2020 Feb 16
0
Wine release 5.2
...winealsa.drv: Send MIDI events to port subscribers. Jeff Smith (2): gdiplus: Fix calculation for 32-bit PARGB to ARGB conversion. gdiplus: Round up when converting from 32-bit ARGB to PARGB. Julian R?ger (1): po: Update German translation. Kevin Puetz (14): oleaut32: Use GetFinalPathNameByHandle to canonicalize file path. atlbase.h: Fix some declarations on win64. objbase.h: Add COWAIT_DEFAULT declaration. mshtml.idl: Fix IHTMLComputedStyle declaration. ntdll: Allow NULL lpAssemblyDirectoryName in find_actctx_dll. kernelbase: Allow NULL lpAssemblyDirectoryNam...