I hope I picked up the most suitable newsgroup.
I switched developing on vista a few weeks ago and expiriencing some
problems using FormatMessage API.
My application does read EventLog entries (using old api's, not the new
Vista ones). The message sources were loaded as ressource using
LoadLibraryEx API till now. Now on Vista, I am getting a lot of error's when
using FormatMessage to format the EventLog message. GetLastError often
returns ERROR_MUI_FILE_NOT_FOUND (code 15100) or ERROR_MUI_FILE_NOT_LOADED
(15105). These error codes are not even defined in the current winerror.h, I
found them in the latest SDK documentation. I was able to get arround some
of these error's when I am using 0 for the dwLanguageID parameter in the
FormatMessage API. I also read a lot in the SDK, but no hint how to handle
this error's or to workaround them.
I also found the new MUI documentation and changed my LoadLibraryEx calls
with the new LoadMUILibrary, but it didn't fix the problem. Any hint or
further documentation would be very helpful, thanks!
best regards,
Andre Lorbach
www.adiscon.com