Martin Mitchell <[EMAIL PROTECTED]> writes:

> This patch fixes some apps (primarily VB it seems) which try and load
> "mmsystem." for example. No, it isn't pretty, but it is effective and
> the right place to fix this bug.

No it's not. You cannot go write into the string passed by the caller.
And unless I'm mistaken this is a "feature" that is used by some apps
to load the module only if already in memory (because "mmsystem." will
match an existing module name, but if there is no existing module
opening the file "mmsystem." will fail). My guess is that the app
expects mmsystem to have been loaded some other way first.

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to