Click here to Skip to main content
15,886,732 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Purish Dwivedi26-Apr-09 20:07
Purish Dwivedi26-Apr-09 20:07 
GeneralRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Cedric Moonen26-Apr-09 20:16
Cedric Moonen26-Apr-09 20:16 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
ThatsAlok26-Apr-09 21:07
ThatsAlok26-Apr-09 21:07 
QuestionRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Purish Dwivedi26-Apr-09 21:29
Purish Dwivedi26-Apr-09 21:29 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
_AnsHUMAN_ 26-Apr-09 21:35
_AnsHUMAN_ 26-Apr-09 21:35 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Rajesh R Subramanian26-Apr-09 22:20
professionalRajesh R Subramanian26-Apr-09 22:20 
QuestionERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Purish Dwivedi26-Apr-09 22:40
Purish Dwivedi26-Apr-09 22:40 
AnswerRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Rajesh R Subramanian26-Apr-09 22:46
professionalRajesh R Subramanian26-Apr-09 22:46 
Is it really that difficult? Read my previous reply to you again. Go to the documentation page and click on strtok and choose the generic text mapping routine equivalent instead.

You need to read on Unicode, Generic Text mappings, Internationalization, and string manipulation. You really need to.


It is a crappy thing, but it's life -^ Carlo Pallini

QuestionRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Purish Dwivedi26-Apr-09 22:55
Purish Dwivedi26-Apr-09 22:55 
AnswerRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Rajesh R Subramanian26-Apr-09 23:07
professionalRajesh R Subramanian26-Apr-09 23:07 
QuestionRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Purish Dwivedi26-Apr-09 23:21
Purish Dwivedi26-Apr-09 23:21 
AnswerRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Cedric Moonen26-Apr-09 23:45
Cedric Moonen26-Apr-09 23:45 
GeneralRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Rajesh R Subramanian27-Apr-09 0:10
professionalRajesh R Subramanian27-Apr-09 0:10 
GeneralRe: ERROR 'strtok' : cannot convert parameter 2 from 'const wchar_t [2]' to 'const char *' Pin
Cedric Moonen27-Apr-09 0:45
Cedric Moonen27-Apr-09 0:45 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
softwaremonkey27-Apr-09 2:23
softwaremonkey27-Apr-09 2:23 
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
PCuong198326-Apr-09 21:46
professionalPCuong198326-Apr-09 21:46 
GeneralRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Purish Dwivedi26-Apr-09 22:39
Purish Dwivedi26-Apr-09 22:39 
GeneralRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
CPallini27-Apr-09 1:02
mveCPallini27-Apr-09 1:02 
QuestionERROR '_atoi64' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *' Pin
Purish Dwivedi26-Apr-09 19:29
Purish Dwivedi26-Apr-09 19:29 
AnswerRe: ERROR '_atoi64' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *' Pin
_AnsHUMAN_ 26-Apr-09 19:34
_AnsHUMAN_ 26-Apr-09 19:34 
AnswerRe: ERROR '_atoi64' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *' Pin
Purish Dwivedi26-Apr-09 19:45
Purish Dwivedi26-Apr-09 19:45 
GeneralRe: ERROR '_atoi64' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *' Pin
toxcct27-Apr-09 2:09
toxcct27-Apr-09 2:09 
GeneralRe: ERROR '_atoi64' : cannot convert parameter 1 from 'LPCTSTR' to 'const char *' Pin
Rajesh R Subramanian27-Apr-09 2:54
professionalRajesh R Subramanian27-Apr-09 2:54 
QuestionHow can Exe must exist and running on PC at every time? Pin
Le@rner26-Apr-09 18:32
Le@rner26-Apr-09 18:32 
AnswerRe: How can Exe must exist and running on PC at every time? Pin
ThatsAlok26-Apr-09 18:36
ThatsAlok26-Apr-09 18:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.