Indumathy

Indumathy

  • NA
  • 18
  • 0

Error 2664 - error in debug mode and not in release mode

Jun 18 2007 5:59 AM

hi,

i recently tried to compile a program in debug mode and it gave me an error -

  error 2664 :    cannot convert parameter 1 from 'const char [11]' to 'LPCTSTR'

 

i then changed in my

Project Properties -> Configuration Properties -> General -> Character Set.

 

and set it to not set . It started working properly. but in release mode,  even if the character set is set to unicode character set, it works fine.Can anybody explain the reason??