Thats not exactly what i meant by my comment Per.
What i meant was, you should never actually write in your code:
MessageBoxA(hWnd, "Hello World", "ANSI MessageBox", MB_OK);
Unless youve got a good reason to.
And in response to your comment, why would you intentionally only support ANSI and not UNICODE? It is no more effort to support UNICODE, just involves typing TCHAR instead of char.
The only area you need to be careful of is pointer arithmetic.
Skute
"There are 10 types of people in this World, those that understand binary, and those that don't!"