Click here to Skip to main content
16,015,973 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionAnimation showing Dialog....... Pin
Anamika200531-Oct-06 17:20
Anamika200531-Oct-06 17:20 
AnswerRe: Animation showing Dialog....... Pin
Mark Salsbery31-Oct-06 17:45
Mark Salsbery31-Oct-06 17:45 
GeneralRe: Animation showing Dialog....... Pin
Anamika200531-Oct-06 18:09
Anamika200531-Oct-06 18:09 
AnswerRe: Animation showing Dialog....... Pin
Hamid_RT31-Oct-06 18:14
Hamid_RT31-Oct-06 18:14 
GeneralRe: Animation showing Dialog....... Pin
Anamika200531-Oct-06 18:21
Anamika200531-Oct-06 18:21 
GeneralRe: Animation showing Dialog....... Pin
Hamid_RT31-Oct-06 18:39
Hamid_RT31-Oct-06 18:39 
Questionerror C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
With_problem31-Oct-06 16:26
With_problem31-Oct-06 16:26 
AnswerRe: error C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
Nibu babu thomas31-Oct-06 16:34
Nibu babu thomas31-Oct-06 16:34 
abrakadbra wrote:
strcpy(m_TQuote.m_ID,SessionId);


strcpy expects both parameters to be string and it copies the second parameter into the first parameter.

You will have to convert the first parameter to string before using it with strcpy. Use ltoa or itoa for converting numeric values to string.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

GeneralRe: error C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
With_problem31-Oct-06 17:34
With_problem31-Oct-06 17:34 
GeneralRe: error C2664: 'strcpy' : cannot convert parameter 1 from 'long' to 'char *' Pin
Nibu babu thomas31-Oct-06 17:45
Nibu babu thomas31-Oct-06 17:45 
QuestionSimple Serial port programming in VC++ Pin
pavanbabut31-Oct-06 16:21
pavanbabut31-Oct-06 16:21 
AnswerRe: Simple Serial port programming in VC++ Pin
NiceNaidu31-Oct-06 19:14
NiceNaidu31-Oct-06 19:14 
AnswerRe: Simple Serial port programming in VC++ Pin
flippydeflippydebop31-Oct-06 20:17
flippydeflippydebop31-Oct-06 20:17 
GeneralRe: Simple Serial port programming in VC++ Pin
pavanbabut1-Nov-06 5:14
pavanbabut1-Nov-06 5:14 
GeneralRe: Simple Serial port programming in VC++ Pin
pavanbabut1-Nov-06 15:33
pavanbabut1-Nov-06 15:33 
QuestionSetForegroundWindow and flash taskbar Pin
LiYS31-Oct-06 15:36
LiYS31-Oct-06 15:36 
AnswerRe: SetForegroundWindow and flash taskbar Pin
Nibu babu thomas31-Oct-06 20:26
Nibu babu thomas31-Oct-06 20:26 
QuestionFile I/O w/ Unicode Dialog [modified] Pin
aquawicket31-Oct-06 13:55
aquawicket31-Oct-06 13:55 
AnswerRe: File I/O w/ Unicode Dialog Pin
Mark Salsbery31-Oct-06 16:19
Mark Salsbery31-Oct-06 16:19 
GeneralRe: File I/O w/ Unicode Dialog Pin
aquawicket31-Oct-06 16:32
aquawicket31-Oct-06 16:32 
GeneralRe: File I/O w/ Unicode Dialog Pin
Mark Salsbery31-Oct-06 17:12
Mark Salsbery31-Oct-06 17:12 
GeneralRe: File I/O w/ Unicode Dialog Pin
aquawicket31-Oct-06 18:16
aquawicket31-Oct-06 18:16 
GeneralRe: File I/O w/ Unicode Dialog Pin
Mark Salsbery31-Oct-06 18:51
Mark Salsbery31-Oct-06 18:51 
GeneralRe: File I/O w/ Unicode Dialog Pin
aquawicket1-Nov-06 4:53
aquawicket1-Nov-06 4:53 
GeneralRe: File I/O w/ Unicode Dialog Pin
aquawicket1-Nov-06 5:03
aquawicket1-Nov-06 5:03 

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.