Click here to Skip to main content
15,559,459 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Static link to ATL alwayas fail Pin
Richard MacCutchan5-Jan-13 2:28
mveRichard MacCutchan5-Jan-13 2:28 
Questionhow to use a work thread write file and the main thread show a carton Pin
haha_c4-Jan-13 23:12
haha_c4-Jan-13 23:12 
SuggestionRe: how to use a work thread write file and the main thread show a carton Pin
David Crow5-Jan-13 12:41
David Crow5-Jan-13 12:41 
AnswerRe: how to use a work thread write file and the main thread show a carton Pin
Albert Holguin6-Jan-13 7:14
professionalAlbert Holguin6-Jan-13 7:14 
GeneralRe: how to use a work thread write file and the main thread show a carton Pin
haha_c6-Jan-13 15:58
haha_c6-Jan-13 15:58 
AnswerRe: how to use a work thread write file and the main thread show a carton Pin
Randor 6-Jan-13 18:39
professional Randor 6-Jan-13 18:39 
QuestioncapDriverConnect displays captured frame in CView Pin
Vaclav_4-Jan-13 17:15
Vaclav_4-Jan-13 17:15 
QuestionWhat is the merit to rewrite memcpy? Pin
econy4-Jan-13 8:31
econy4-Jan-13 8:31 
One embedded program has a MemCpy(), like:
void MemCpy(unsigned byte *pTg, unsigned byte *pSc, size_t slen)
{
  volatile unsigned byte *ps, *pt;
  for (pt=pTg, ps=pSc; ps<(pSc+slen); pt++,ps++)
    *pt = *ps;
}

I wonder why the coder didnot use standard C memcpy function, what is the merit to rewrite a memcpy function like the above?

modified 4-Jan-13 14:46pm.

AnswerRe: What is the merit to rewrite memcpy? Pin
Richard MacCutchan4-Jan-13 10:19
mveRichard MacCutchan4-Jan-13 10:19 
GeneralRe: What is the merit to rewrite memcpy? Pin
econy4-Jan-13 11:31
econy4-Jan-13 11:31 
GeneralRe: What is the merit to rewrite memcpy? Pin
jeron14-Jan-13 11:49
jeron14-Jan-13 11:49 
GeneralRe: What is the merit to rewrite memcpy? Pin
Richard MacCutchan5-Jan-13 2:20
mveRichard MacCutchan5-Jan-13 2:20 
AnswerRe: What is the merit to rewrite memcpy? Pin
jschell6-Jan-13 6:02
jschell6-Jan-13 6:02 
AnswerRe: What is the merit to rewrite memcpy? Pin
Joe Woodbury7-Jan-13 11:15
professionalJoe Woodbury7-Jan-13 11:15 
QuestionWhat is the benefit using duplicate loop statement [solved] Pin
econy4-Jan-13 5:53
econy4-Jan-13 5:53 
AnswerRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 6:29
jeron14-Jan-13 6:29 
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 7:37
econy4-Jan-13 7:37 
GeneralRe: What is the benefit using duplicate loop statement Pin
jeron14-Jan-13 7:58
jeron14-Jan-13 7:58 
GeneralRe: What is the benefit using duplicate loop statement Pin
econy4-Jan-13 8:21
econy4-Jan-13 8:21 
GeneralRe: What is the benefit using duplicate loop statement Pin
Richard MacCutchan4-Jan-13 7:59
mveRichard MacCutchan4-Jan-13 7:59 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
CPallini7-Jan-13 0:09
mveCPallini7-Jan-13 0:09 
AnswerRe: What is the benefit using duplicate loop statement [solved] Pin
Joe Woodbury7-Jan-13 11:19
professionalJoe Woodbury7-Jan-13 11:19 
QuestionIt's too slow to use the DrawDibDraw to draw a frame. Pin
yu-jian4-Jan-13 4:31
yu-jian4-Jan-13 4:31 
Questionhow to create font by unicode value? Pin
Falconapollo4-Jan-13 2:30
Falconapollo4-Jan-13 2:30 
AnswerRe: how to create font by unicode value? Pin
Richard MacCutchan4-Jan-13 4:23
mveRichard MacCutchan4-Jan-13 4:23 

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.