Solved

WinError.h Error Codes in French

Posted on 2002-03-06
6
614 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 17

Expert Comment

by:Wim ten Brink
ID: 6846974
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
ID: 6853173
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
ID: 35215516
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

726 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