[Bug 24192] Star Trek: Legacy exits when trying to play sound effect

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 17 02:47:54 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=24192

--- Comment #2 from Eduardo <companheiro.vermelho at gmail.com> 2010-09-17 02:47:53 CDT ---
(In reply to comment #1)
> According to http://msdn.microsoft.com/en-us/library/aa365430%28VS.85%29.aspx,
> "you cannot use the OpenFile function to open a file with a path length that
> exceeds 128 characters."
> 
> That particular path is 130 characters long. SearchPath fails, but OpenFile
> (incorrectly) continues anyway and tries to use uninitialized memory, causing
> ERROR_INVALID_NAME. OpenFile should (apparently) fail, but with a different
> error code.
> 
> This needs a testcase.
> 
> Maybe you can work around this by choosing a different, shorter path for the
> install.

You are absolutely right! Installing in a shorter path solved the problem.
I will try to reproduce this on Windows to discover which errorcode OpenFile
should use.
Still, thank you very much. Great work!

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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