[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 12:12:05 CDT 2007


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





--- Comment #21 from Anastasius Focht <focht at gmx.net>  2007-09-25 12:12:05 ---
Hello,

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

ERROR_NOT_ENOUGH_MEMORY == lasterror 0x8?

Interesting.
My system: Windows XP SP2 returns last error 0x57 (decimal 87) -> which
translates to "invalid parameter".
I flipped flags, codes and reset all parameters to zero (FormatMessage(
0,0,...,0)), the last error code remains the same.
This can only mean that NULL ptr param check seems to take precedence over
other parameter validations.

Please post your exact snippet where you got ERROR_NOT_ENOUGH_MEMORY last error
so i can verify it on my system.

Regards 


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