Click here to Skip to main content
16,005,281 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Removing functions or variables in .NET Pin
dazinith21-Feb-03 5:26
dazinith21-Feb-03 5:26 
GeneralRe: Removing functions or variables in .NET Pin
AlexO21-Feb-03 5:27
AlexO21-Feb-03 5:27 
GeneralAdjust console window width Pin
Aaron Schaefer21-Feb-03 5:18
Aaron Schaefer21-Feb-03 5:18 
GeneralRe: Adjust console window width Pin
Chris Richardson21-Feb-03 7:18
Chris Richardson21-Feb-03 7:18 
QuestionHow do you compile and build in VC 7.0 Pin
Member 13661821-Feb-03 5:04
Member 13661821-Feb-03 5:04 
AnswerRe: How do you compile and build in VC 7.0 Pin
dazinith21-Feb-03 5:27
dazinith21-Feb-03 5:27 
AnswerRe: How do you compile and build in VC 7.0 Pin
valikac21-Feb-03 6:40
valikac21-Feb-03 6:40 
GeneralCopyMemory vs MoveMemory Pin
Abin21-Feb-03 4:57
Abin21-Feb-03 4:57 
According to MSDN, if source and target memory blocks overlap, using CopyMemory "the results are undefined". For overlapped blocks, we should use the MoveMemory function instead.

Having that been stated, my question is: why should we use CopyMemory? Is it OK to ALWAYS use MoveMemory even if the blocks do not overlap? Also, what does the verb "Move" imply here? Since the argument of source block is a "const VOID*", which means referenced memory data are unalterable...

Anyway, whats the deffernce between "CopyMemory" and "MoveMemory" other than one cannot copy overlapped blocks and the other can? Thanks a lot.
GeneralRe: CopyMemory vs MoveMemory Pin
Felix Gartsman21-Feb-03 5:46
Felix Gartsman21-Feb-03 5:46 
GeneralRe: CopyMemory vs MoveMemory Pin
Abin21-Feb-03 15:46
Abin21-Feb-03 15:46 
Generala simple question about references Pin
ns21-Feb-03 4:38
ns21-Feb-03 4:38 
GeneralRe: a simple question about references Pin
Steve S21-Feb-03 4:41
Steve S21-Feb-03 4:41 
GeneralRe: a simple question about references Pin
ns21-Feb-03 4:47
ns21-Feb-03 4:47 
GeneralRe: a simple question about references Pin
Steve S21-Feb-03 4:51
Steve S21-Feb-03 4:51 
GeneralRe: a simple question about references Pin
ns21-Feb-03 4:55
ns21-Feb-03 4:55 
GeneralRe: a simple question about references Pin
Nitron21-Feb-03 8:22
Nitron21-Feb-03 8:22 
GeneralRe: a simple question about references Pin
ns24-Feb-03 2:07
ns24-Feb-03 2:07 
GeneralRe: a simple question about references Pin
Rage21-Feb-03 5:01
professionalRage21-Feb-03 5:01 
GeneralRe: a simple question about references Pin
ns21-Feb-03 5:14
ns21-Feb-03 5:14 
GeneralCTreeCtrl Pin
jeremysay21-Feb-03 3:54
jeremysay21-Feb-03 3:54 
GeneralRe: CTreeCtrl Pin
Steve S21-Feb-03 4:18
Steve S21-Feb-03 4:18 
GeneralRe: CTreeCtrl Pin
jeremysay21-Feb-03 4:28
jeremysay21-Feb-03 4:28 
GeneralRe: CTreeCtrl Pin
Steve S21-Feb-03 4:38
Steve S21-Feb-03 4:38 
GeneralRe: CTreeCtrl Pin
jeremysay21-Feb-03 4:46
jeremysay21-Feb-03 4:46 
GeneralI need Help in Thumb Scanning and Comparison in VC++ Pin
farrukhsubhani21-Feb-03 3:31
farrukhsubhani21-Feb-03 3:31 

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.