[Bug 9056] Mono 1.2.4 fails to find mscorlib.dll on startup

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 25 11:29:56 CDT 2007


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





--- Comment #20 from Hans Leidekker <hans at it.vu.nl>  2007-09-25 11:29:56 ---
> Could you please fix wine's FormatMessageA/W to check for NULL lpBuffer?

Working on it ;-)

>    if( !lpBuffer)
>    {
>        SetLastError( ERROR_INVALID_PARAMETER);
>        return 0;
>    }

My tests thus far show that when FORMAT_MESSAGE_ALLOCATE_BUFFER
is specified (like mono does) the API returns ERROR_NOT_ENOUGH_MEMORY
in the lpBuffer == NULL case.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list