Solved

WinError.h Error Codes in French

Posted on 2002-03-06
6
596 Views
Last Modified: 2013-12-03
I am looking for the error descriptions found in WinError.h in French.  Can anyone help?  Specifically, I need translations for the messages that are returned by NetUserChangePassword.

Any help appreciated.
0
Comment
Question by:craigdawson
6 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
Comment Utility
I wonder... Aren't these error-codes depending on the language used by Windows itself? So if you have a french windows version, all error messages are french. If you use an english windows version, all errors are in english.
I don't think that what you want is possible. But I could be wrong.
0
 
LVL 5

Accepted Solution

by:
robpitt earned 50 total points
Comment Utility
Alex is right.
You could generate the descriptions by calling the following function on a French version of Windows:

FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM,NULL,errorCode,0,buf,sizeof(buf),NULL);

0
 

Expert Comment

by:sachaweb
Comment Utility
How to find the code of a Windows error message?
For ex. I'm getting, in French, "Vous ne disposez pas des autorisations requises pour accéder à ce dossier." (Folder access denied, roughly translated.) Is there some online repository with error messages? Or in Windows itself?

I tried the event viewer, far too complicated, no way to find the error right after it occurred.
I don't know what is winerror.h, how to use it, etc.
I don't understand what can be done with the code above by Robpitt, "FormatMessage..." - is it for a Windows batch file? How to use it?

I searched Microsoft websites, Experts Exchange, other forums, no solution found.

In general, some overview on how to bridge between different language version of Windows would be most welcome - a book, a website, anything other than crawling on the Web for hours each time I come across a language issue...
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now