Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to make setup Borland C++ Builder 6 Pin
upamir18-Oct-07 1:42
upamir18-Oct-07 1:42 
AnswerRe: How to make setup Borland C++ Builder 6 Pin
Nelek18-Oct-07 2:41
protectorNelek18-Oct-07 2:41 
GeneralRe: How to make setup Borland C++ Builder 6 Pin
upamir20-Oct-07 23:21
upamir20-Oct-07 23:21 
QuestionIs there an alternative solution to this? [Solved] Pin
Nelek18-Oct-07 0:51
protectorNelek18-Oct-07 0:51 
AnswerRe: Is there an alternative solution to this? Pin
Chris Losinger18-Oct-07 0:56
professionalChris Losinger18-Oct-07 0:56 
GeneralRe: Is there an alternative solution to this? [SOLVED] Pin
Nelek18-Oct-07 1:07
protectorNelek18-Oct-07 1:07 
GeneralRe: Is there an alternative solution to this? Pin
sps-itsec4618-Oct-07 1:25
sps-itsec4618-Oct-07 1:25 
GeneralRe: Is there an alternative solution to this? Pin
James R. Twine18-Oct-07 1:38
James R. Twine18-Oct-07 1:38 
   SecureZeroMemory(...) should not really be used for first initialization of a buffer, because if you use memset(...) right before you use the buffer, the call to memset(...) will not be optimized away.

   You use SecureZeroMemory(...) in situations where you are clearing a buffer AFTER its use.  For example, if you decode/decrypt something into a buffer, and you want to make sure that the plaintext is not lying around in memory somewhere so you clear the buffer before deallocating it (or exiting the function).

   It is situations where the last thing you do to the buffer is call memset(...) on it where it can get optimized away.

   Peace!



-=- James
Please rate this message - let me know if I helped or not!<HR>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles

GeneralRe: Is there an alternative solution to this? Pin
sps-itsec4618-Oct-07 5:27
sps-itsec4618-Oct-07 5:27 
GeneralRe: Is there an alternative solution to this? Pin
James R. Twine18-Oct-07 12:09
James R. Twine18-Oct-07 12:09 
GeneralRe: Is there an alternative solution to this? Pin
sps-itsec4625-Oct-07 12:55
sps-itsec4625-Oct-07 12:55 
GeneralRe: Is there an alternative solution to this? Pin
James R. Twine25-Oct-07 13:52
James R. Twine25-Oct-07 13:52 
GeneralRe: Is there an alternative solution to this? Pin
sps-itsec4626-Oct-07 6:41
sps-itsec4626-Oct-07 6:41 
AnswerRe: Is there an alternative solution to this? [Solved] Pin
James R. Twine18-Oct-07 1:44
James R. Twine18-Oct-07 1:44 
GeneralRe: Is there an alternative solution to this? [Solved] [modified] Pin
Nelek18-Oct-07 2:21
protectorNelek18-Oct-07 2:21 
QuestionWireless network Adapter Interface GUID... WM_DEVICECHANGE Pin
Ravinder Are18-Oct-07 0:47
Ravinder Are18-Oct-07 0:47 
Questionsocket programming Pin
laggraw18-Oct-07 0:45
laggraw18-Oct-07 0:45 
AnswerRe: socket programming Pin
Parthi_Appu18-Oct-07 0:55
Parthi_Appu18-Oct-07 0:55 
GeneralRe: socket programming Pin
laggraw23-Oct-07 23:00
laggraw23-Oct-07 23:00 
AnswerRe: socket programming Pin
Cedric Moonen18-Oct-07 1:40
Cedric Moonen18-Oct-07 1:40 
GeneralRe: socket programming Pin
laggraw23-Oct-07 22:50
laggraw23-Oct-07 22:50 
GeneralRe: socket programming Pin
Cedric Moonen23-Oct-07 23:17
Cedric Moonen23-Oct-07 23:17 
QuestionProblem with Active x control Pin
santhi_malli18-Oct-07 0:28
santhi_malli18-Oct-07 0:28 
Question???? to the right content, urgent Pin
monsieur_jj18-Oct-07 0:07
monsieur_jj18-Oct-07 0:07 
QuestionRe: ???? to the right content, urgent Pin
Nelek18-Oct-07 1:08
protectorNelek18-Oct-07 1:08 

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.