search for: pathfindextensionw

Displaying 1 result from an estimated 1 matches for "pathfindextensionw".

Did you mean: pathfindextensiona
2008 Nov 10
4
PathFindExtension and wide strings
...39;'s happening here? require ''windows/path'' require ''windows/unicode'' include Windows::Path include Windows::Unicode file_a = ''bar.txt'' file_w = multi_to_wide(file_a) p PathFindExtensionA(file_a) # ''.txt'' => OK p PathFindExtensionW(file_w) # ''.'' => WRONG Is Ruby chopping the result because of an embedding null? How do we deal with it? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly p...