[Bug 42446] Native Instruments 'Native Access' 1.1.x fails to start, reports 'You cannot start Native Access from the mounted disk'

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Mar 8 10:22:01 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=42446

Stan <markau0 at lycos.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markau0 at lycos.com

--- Comment #29 from Stan <markau0 at lycos.com> ---
The Native Access bug is due to the GetVolumePathNameW function (dlls kernel32
volume.c) which has 

c = strrchrW( volumenameW, '\\' );

which searches the volumenameW string for backslash's whereas it should be
searching for slash's


changing 

c = strrchrW( volumenameW, '\\' );

to

c = strrchrW( volumenameW, '/' );

results in correct volumename being returned and Native Access then works
normally.

Native Access is calling GetVolumePathNameW and then GetVolumeInformationW to
see if it's being run from a read only volume.

GetVolumeInformationW is getting the wrong volume path from GetVolumePathNameW
because of the backslash/slash bug in GetVolumePathNameW and
GetVolumeInformationW is returning an error which Native Access interprets as
being because it's being run on a read only filesystem and then Native Access
puts up the error about it can't be run from the mounted volume and to move it
to the Applications folder which is really a mac error but that's the error
message NI use.





https://bugs.winehq.org/show_bug.cgi?id=44685

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list