Click here to Skip to main content
16,018,057 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to get gps value Pin
Hamid_RT27-Apr-09 8:36
Hamid_RT27-Apr-09 8:36 
AnswerRe: how to get gps value Pin
Rajesh R Subramanian26-Apr-09 22:14
professionalRajesh R Subramanian26-Apr-09 22:14 
QuestionCOleDateTime problem Pin
Davitor26-Apr-09 20:08
Davitor26-Apr-09 20:08 
AnswerRe: COleDateTime problem Pin
_AnsHUMAN_ 26-Apr-09 20:32
_AnsHUMAN_ 26-Apr-09 20:32 
GeneralRe: COleDateTime problem Pin
Davitor26-Apr-09 20:36
Davitor26-Apr-09 20:36 
GeneralRe: COleDateTime problem Pin
_AnsHUMAN_ 26-Apr-09 20:39
_AnsHUMAN_ 26-Apr-09 20:39 
GeneralRe: COleDateTime problem Pin
Davitor26-Apr-09 21:30
Davitor26-Apr-09 21:30 
QuestionERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
Purish Dwivedi26-Apr-09 19:51
Purish Dwivedi26-Apr-09 19:51 
My code segment is as
TCHAR ProxyHost[20];
strcpy(ProxyHost, m_proxy_host_ip);


I am getting an error like
'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *'

How can I solve this? Plz help me.
Thanks
AnswerRe: ERROR 'strcpy' : cannot convert parameter 1 from 'TCHAR [20]' to 'char *' Pin
_AnsHUMAN_ 26-Apr-09 19:56
_AnsHUMAN_ 26-Apr-09 19:56 
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 
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 

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.