problem with LPCTSTR

problem with LPCTSTR

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


Hi,

I work with VisualC++ and I'va got this error while I'm trying to compile a
project found on the Net (odbcsocketserver.sourceforge.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:
my_fonction("blablabla");

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 ...