Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Guys,
I've got some old code with this defined:
#define DEBUGSTR(str) ads_printf("\n%s Line: %d String " #str " = '%s'", __FILE__, __LINE__, str)
the call is:
if (DEBUG_COMMAND_ERROR()) DEBUGSTR(_LAYER);
_LAYER is defined as:
#define _LAYER "_.LAYER\0"
I'm getting this error:
Error 2 error C2664: 'acutPrintf' : cannot convert parameter 1 from 'const char [31]' to 'const ACHAR *'
I obviously need to make it UNICODE correct.
Can anyone point in the right direction on how to fix this?
Thanks in advance,
Dave
Solved! Go to Solution.