   Unicode __LINE__
  Hiya,Just a quick question - does anyone know whether MSVC supplies wide-character version of the __LINE__, __FUNCTION__, __FILE__, etc macros?Many thanks for any help [smile]James.   
  Well, __LINE__ is an integer, so no :P__FILE__ and __FUNCTION__ don't have wide versions, but you can make them wide:#define WIDEN2(x) L ## x#define WIDEN(x) WIDEN2(x)#define __WFILE__ WIDEN(__FILE__)wchar_t *pwsz = __WFILE__;int main(){};  Thanks, that's exactly what I was looking for.   