tags:

views:

46

answers:

2

I am using a Dutch version of Windows and I have this piece of code:

::FormatMessage
(
  FORMAT_MESSAGE_ALLOCATE_BUFFER
  | FORMAT_MESSAGE_FROM_SYSTEM
  | FORMAT_MESSAGE_IGNORE_INSERTS,
  NULL,
  lastError,
  MAKELANGID(LANG_NEUTRAL,SUBLANG_DEFAULT),
  (LPTSTR)&lpMsgBuf,
  0,
  NULL
);

However, this returns the messages in Dutch. Would it possible to get the error messages in English instead?

+1  A: 

I'm afraid not! AFAIK, the English resources aren't available at all in other international editions of the OS.

Moayad Mardini
A: 

The only way I know of is to change the Operating System's configured language, which changes all text to said language.

I'm not sure if this is possible in Vista or 7 unless you have the Ultimate edition, which features 33-34 additional languages as downloads from Windows Update.

R. Bemrose