Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: why spy++ can not get the program control Pin
Code-o-mat8-Feb-10 23:38
Code-o-mat8-Feb-10 23:38 
QuestionNot getting WM_SysCommand message after maximizing the child window. Pin
Member 41861988-Feb-10 18:55
Member 41861988-Feb-10 18:55 
AnswerRe: Not getting WM_SysCommand message after maximizing the child window. Pin
Richard MacCutchan8-Feb-10 21:25
mveRichard MacCutchan8-Feb-10 21:25 
Questionmemset vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:30
Adam Roderick J8-Feb-10 18:30 
AnswerRe: memcpy vs SecureZeroMemory Pin
KingsGambit8-Feb-10 18:39
KingsGambit8-Feb-10 18:39 
GeneralRe: memcpy vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:54
Adam Roderick J8-Feb-10 18:54 
GeneralRe: memcpy vs SecureZeroMemory Pin
KingsGambit8-Feb-10 18:56
KingsGambit8-Feb-10 18:56 
AnswerRe: memset vs SecureZeroMemory Pin
«_Superman_»8-Feb-10 18:44
professional«_Superman_»8-Feb-10 18:44 
SecureZeroMemory may be a little slow on the x86 platform as it initializes each element of the array in a loop. But for x64 it uses an intrinsic, which will be very fast.
You could also use the C-Runtime memcpy_s function.

To initialize the array to zero at the time of creation, the reply by Rejeesh definitely works in Visual Studio.
«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

GeneralRe: memset vs SecureZeroMemory Pin
Adam Roderick J8-Feb-10 18:52
Adam Roderick J8-Feb-10 18:52 
GeneralRe: memset vs SecureZeroMemory Pin
«_Superman_»8-Feb-10 19:33
professional«_Superman_»8-Feb-10 19:33 
GeneralRe: memset vs SecureZeroMemory Pin
Chris Losinger9-Feb-10 4:44
professionalChris Losinger9-Feb-10 4:44 
AnswerRe: memset vs SecureZeroMemory Pin
Rajesh R Subramanian8-Feb-10 20:12
professionalRajesh R Subramanian8-Feb-10 20:12 
AnswerRe: memset vs SecureZeroMemory Pin
Richard MacCutchan8-Feb-10 22:46
mveRichard MacCutchan8-Feb-10 22:46 
QuestionCluster Size Pin
john56328-Feb-10 17:51
john56328-Feb-10 17:51 
AnswerRe: Cluster Size Pin
Adam Roderick J8-Feb-10 18:01
Adam Roderick J8-Feb-10 18:01 
GeneralRe: Cluster Size Pin
john56328-Feb-10 18:05
john56328-Feb-10 18:05 
GeneralRe: Cluster Size Pin
Adam Roderick J8-Feb-10 18:47
Adam Roderick J8-Feb-10 18:47 
QuestionCombo box droplist selection Pin
dipuks8-Feb-10 11:20
dipuks8-Feb-10 11:20 
AnswerRe: Combo box droplist selection Pin
Luc Pattyn8-Feb-10 11:31
sitebuilderLuc Pattyn8-Feb-10 11:31 
QuestionProblem with output [modified] Pin
gregarion8-Feb-10 6:56
gregarion8-Feb-10 6:56 
AnswerRe: Problem with output Pin
Avi Berger8-Feb-10 7:55
Avi Berger8-Feb-10 7:55 
AnswerRe: Problem with output Pin
KingsGambit8-Feb-10 8:26
KingsGambit8-Feb-10 8:26 
GeneralRe: Problem with output Pin
Richard MacCutchan8-Feb-10 8:59
mveRichard MacCutchan8-Feb-10 8:59 
GeneralRe: Problem with output Pin
KingsGambit8-Feb-10 9:04
KingsGambit8-Feb-10 9:04 
GeneralRe: Problem with output Pin
Richard MacCutchan8-Feb-10 9:56
mveRichard MacCutchan8-Feb-10 9:56 

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.