?
Solved

WinError.h Error Codes in French

Posted on 2002-03-06
6
Medium Priority
?
619 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 200 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

770 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