Click here to Skip to main content
15,900,511 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhtml and C++ Pin
Tully200320-Apr-07 6:06
Tully200320-Apr-07 6:06 
QuestionAnybody done any Speex development? Pin
Heavenword120-Apr-07 5:28
Heavenword120-Apr-07 5:28 
QuestionUsing UI-Thread Pin
CDRAIN20-Apr-07 4:58
CDRAIN20-Apr-07 4:58 
Questionstrcpy - Doing something wrong ?? Pin
Programm3r20-Apr-07 4:12
Programm3r20-Apr-07 4:12 
AnswerRe: strcpy - Doing something wrong ?? Pin
Programm3r20-Apr-07 4:17
Programm3r20-Apr-07 4:17 
GeneralRe: strcpy - Doing something wrong ?? Pin
Mark Salsbery20-Apr-07 7:43
Mark Salsbery20-Apr-07 7:43 
AnswerRe: strcpy - Doing something wrong ?? Pin
Michael Dunn20-Apr-07 7:01
sitebuilderMichael Dunn20-Apr-07 7:01 
AnswerRe: strcpy - Doing something wrong ?? Pin
krmed20-Apr-07 10:10
krmed20-Apr-07 10:10 
I think I see what you're trying to do, but you need to take the address of dbBuff[dbCount] before casting it to a (const char*):
strcpy((char*)HoldDBBuff[dbHoldCount], (const char*)&dbBuff[dbCount]);

(Notice the & I added.

Hope that helps.

Karl - WK5M
PP-ASEL-IA (N43CS)
PGP Key: 0xDB02E193
PGP Key Fingerprint: 8F06 5A2E 2735 892B 821C 871A 0411 94EA DB02 E193

GeneralRe: strcpy - Doing something wrong ?? Pin
Mark Salsbery20-Apr-07 10:26
Mark Salsbery20-Apr-07 10:26 
GeneralRe: strcpy - Doing something wrong ?? Pin
krmed20-Apr-07 10:29
krmed20-Apr-07 10:29 
GeneralRe: strcpy - Doing something wrong ?? Pin
Michael Dunn20-Apr-07 16:39
sitebuilderMichael Dunn20-Apr-07 16:39 
GeneralRe: strcpy - Doing something wrong ?? Pin
krmed21-Apr-07 3:47
krmed21-Apr-07 3:47 
QuestionCView::OnNCPaint Pin
bob1697220-Apr-07 3:58
bob1697220-Apr-07 3:58 
AnswerRe: CView::OnNCPaint Pin
Michael Dunn20-Apr-07 7:05
sitebuilderMichael Dunn20-Apr-07 7:05 
GeneralRe: CView::OnNCPaint Pin
bob1697220-Apr-07 7:29
bob1697220-Apr-07 7:29 
QuestionTerminate Process Question Pin
Programm3r20-Apr-07 2:51
Programm3r20-Apr-07 2:51 
AnswerRe: Terminate Process Question Pin
toxcct20-Apr-07 3:13
toxcct20-Apr-07 3:13 
GeneralRe: Terminate Process Question Pin
Programm3r20-Apr-07 3:17
Programm3r20-Apr-07 3:17 
AnswerRe: Terminate Process Question Pin
Programm3r20-Apr-07 3:24
Programm3r20-Apr-07 3:24 
GeneralRe: Terminate Process Question Pin
toxcct20-Apr-07 3:32
toxcct20-Apr-07 3:32 
AnswerRe: Terminate Process Question Pin
Michael Dunn20-Apr-07 7:06
sitebuilderMichael Dunn20-Apr-07 7:06 
QuestionHow to subclass a Button on a MessageBox ? [modified] Pin
sdhexu20-Apr-07 2:37
sdhexu20-Apr-07 2:37 
AnswerRe: How to subclass a Button on a MessageBox ? Pin
ThatsAlok20-Apr-07 21:32
ThatsAlok20-Apr-07 21:32 
QuestionHow to change font of ToolTip control in VC++ 6.0? Pin
Atul2320-Apr-07 2:00
Atul2320-Apr-07 2:00 
AnswerRe: How to change font of ToolTip control in VC++ 6.0? Pin
Hamid_RT20-Apr-07 19:36
Hamid_RT20-Apr-07 19: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.