[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
Fri Mar 9 00:33:57 CST 2018


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

--- Comment #37 from Stan <markau0 at lycos.com> ---
On further testing I think that Native Access is passing a pathname with unix
style slashes maybe because it thinks it's on a mac due to some bug in Native
Access.

Native Access seems to be passing

"C:/Program Files/Native Instruments/Native Access/Native Access.exe"

to GetVolumePathNameW and GetVolumePathNameW is not prepared for the unix style
slashes and Native Access should be passing 


"C:\\Program Files\\Native Instruments\\Native Access\\Native Access.exe" to
GetVolumePathNameW


Pretty weird but I think that that is what it is.

Native Access seems to have some mac detection code in it and hence the can't
run from mounted volume move Native Access to the Applications folder error and
maybe the unix style pathname sent to GetVolumePathNameW


If GetVolumePathNameW is altered to be able to handle unix style paths (see my
code above) then Native Access runs ok but that is not normal for
GetVolumePathNameW which needs to handle window style paths and so the Wine
volume tests fail as would be expected.


I don't know what a fix would be, maybe detect unix style paths at the start of
GetVolumePathNameW and convert them to windows style paths.

-- 
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