Board index » Visual Studio » error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'
|
vijaydsk
|
|
vijaydsk
|
error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'
Visual Studio73
error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'; i am geting that error becuse of the following statement. DECLARE_WND_CLASS("Koti Window"); can you please help me , what is the remedy or how to solve that problem regards, koti - |
| David
Registered User |
Thu Feb 03 01:56:00 CST 2005
Re:error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'Quoteerror C2440: 'initializing' : cannot convert from 'char [20]' to 'const Quotei am geting that error becuse of the following statement. DECLARE_WND_CLASS(L"Koti Window"); Dave -- MVP VC++ FAQ: www.mvps.org/vcfaq">www.mvps.org/vcfaq - |
| koti
Registered User |
Thu Feb 03 09:16:37 CST 2005
Re:error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'
yes, i have tried but it gives so many errors , please tell me another
solution "David Lowndes" <davidl@example.invalid>wrote in message Quote>error C2440: 'initializing' : cannot convert from 'char [20]' to 'const - |
| Bo
Registered User |
Thu Feb 03 11:07:25 CST 2005
Re:error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'"koti" <rkr.koti@gmail.com>skrev i meddelandet Quoteyes, i have tried but it gives so many errors , please tell me another ? If that is not chosen, wchar_t is just a typedef for unsigned short. Bo Persson Quote"David Lowndes" <davidl@example.invalid>wrote in message - |
| David
Registered User |
Thu Feb 03 11:20:17 CST 2005
Re:error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'Quote>>error C2440: 'initializing' : cannot convert from 'char [20]' to 'const Seriously, I can't think what else the problem could be. You need to tell us some more. Are you building a Unicode project? Dave - |
| AliR
Registered User |
Thu Feb 03 11:22:23 CST 2005
Re:error C2440: 'initializing' : cannot convert from 'char [20]' to 'const unsigned short *'
Have you tried:
DECLARE_WND_CLASS(_T("Koti Window")); AliR "koti" <rkr.koti@gmail.com>wrote in message Quoteerror C2440: 'initializing' : cannot convert from 'char [20]' to 'const - |
