emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnutls on mingw64


From: Eli Zaretskii
Subject: Re: gnutls on mingw64
Date: Fri, 29 Nov 2019 09:17:42 +0200

> From: Richard Copley <address@hidden>
> Date: Thu, 28 Nov 2019 22:22:16 +0000
> Cc: emacs-devel <address@hidden>
> 
> GetLastError() is just an integer, like errno. You must have to do a little 
> more work to get descriptive errors
> from other systems? There's probably an equivalent. The Application error log 
> in Event Viewer springs to
> mind.

I usually do from the shell prompt:

   net helpmsg NNN

where NNN is the code returned by GetLastError.  (Programmatically,
there's the FormatMessage function to return the error string.)
Example:

  D:\usr\eli>net helpmsg 2

  The system cannot find the file specified.

> ("Dependencies" gets detailed information somehow. But for all I know (I 
> haven't looked) it emulates the
> loader to see what happens.)

You can do the same with objdump, btw.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]