June 30th, 1999, 10:12 AM
I get
"error C2664: 'MessageBoxW':cannot convert parameter 2 from 'char [5]' to 'const unsigned short *'"
when using ::messageBox.
If I comment out the following two lines then the message box will work fine.
#define UNICODE
#define _UNICODE
but if I leave the comments in and compile, then I get:
error C2440: 'initializing'
error C2664: 'SetCommandText'
both saying that they can't convert a parameter.
What gives???
TIA, Woody
wmckay@asmr.com
"error C2664: 'MessageBoxW':cannot convert parameter 2 from 'char [5]' to 'const unsigned short *'"
when using ::messageBox.
If I comment out the following two lines then the message box will work fine.
#define UNICODE
#define _UNICODE
but if I leave the comments in and compile, then I get:
error C2440: 'initializing'
error C2664: 'SetCommandText'
both saying that they can't convert a parameter.
What gives???
TIA, Woody
wmckay@asmr.com