|
From: Tatsuro M. <mat...@nu...> - 2005-01-27 09:48:19
|
>No. The secondary cast to (unsigned int) is unnecessary, and >potentially dangerous (because the real parameter type is WPARAM, not >unsigned int). I've checked into a CVS a version that casts to unsigned >char. >If the type were unsigned int, such a cast would be superfluous --- C >silently applies it already. Thank you for your comments. PostMessage( hwnd, WM_CHAR, (unsigned char) *pc, 1L ); Is it OK? It look like works well here. >> Sometimes I used the script which includes more than 80 character per line. >So what? Did the existing buffer size of 80 cause you any trouble with This is my complete misleading. I'm sorry. Sincerely yours, Tatsuro MATSUOKA |