[ros-bugs] [Bug 1146] New: createfilew() path wrong

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sat Dec 17 08:08:40 CET 2005


http://www.reactos.org/bugzilla/show_bug.cgi?id=1146

           Summary: createfilew() path wrong
           Product: ReactOS
           Version: TRUNK
          Platform: VMWare 4
        OS/Version: ReactOS
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Win32
        AssignedTo: alex.ionescu at reactos.com
        ReportedBy: royce3 at ev1.net
         QAContact: ros-bugs at reactos.org


compile this test program - put executable in c:\ directory
create files by these names in c:\ directory:
"1.bmp"
"reallylongfilename.txt"
"really_long_file_name.txt"

browse to c:\ directory in explorer

double-click executable.

observe it cannot open the relative paths

enabling DPRINT's in kernel32 indicates that CreateFileW()
is actually searching the C:\ReactOS directory for the
relative files. Since the executable was launched directly
(i.e. not via .lnk), and from the C:\ directory, then
CreateFileW() should be searching the C:\ directory,
not C:\ReactOS.

-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Ros-bugs mailing list