Why does this not work?
I want it to use a different language.Code:FormatMessage(
FORMAT_MESSAGE_ALLOCATE_BUFFER |
FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
dw,
MAKELANGID(LANG_AFRIKAANS, SUBLANG_DEFAULT),
(LPTSTR) &lpMsgBuf,
0, NULL );
But it puts (null) into the lpMsgBuf.

