Implement DceErrorInqText

Bill Medland billmedland at mercuryspeed.com
Wed Dec 22 10:58:40 CST 2004


On December 22, 2004 08:25 am, Alexandre Julliard wrote:
> Bill Medland <billmedland at mercuryspeed.com> writes:
> > Oh.  I thought we wanted to do the same as Windows does!!!
> >
> > Don't ask me why but for some error codes (as detailed in the patch),
> > even though FormatMessage can return a perfectly reasonable string,
> > DceErrorInqText doesn't return it.  E.g. 7050, 7052 and 7053 but not
> > 7051.
>
> I really doubt that Windows has a list of magic codes where it
> deliberately ignores the correct error from FormatMessage to return
> the generic error instead. So either our FormatMessage is wrong, or
> there's something else going on here that we don't understand.
Yes, you are right.  It suddenly came to me.  (It's the length of the string).
I'll resubmit (Take 3) in a couple of minutes.

-- 
Bill Medland
mailto:billmedland at mercuryspeed.com
http://webhome.idirect.com/~kbmed




More information about the wine-devel mailing list