problem with LPCTSTR

problem with LPCTSTR

Post by poiskaill » Thu, 28 Aug 2003 17:32:18


I work with VisualC++ and I'va got this error while I'm trying to compile a
project found on the Net (

cannot convert parameter 1 from char [10] to const unsigned short, cast
needed ...

my function looks like:
my_fonction(LPCTSTR param)
and calls looks like:

some people tell me that it may happen because vc++ compile in UNICODE, if
it's true how to change this option in mvc++ ?

thanks ...