Click here to Skip to main content
15,917,731 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is there an alternative solution to this? Pin
James R. Twine18-Oct-07 1:38
James R. Twine18-Oct-07 1:38 
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 
Thanks for both answers. I have learned someting new.

End result is:
nBufLength = nTotalArea - nValidWrittenData;
BYTE* pBuffer = NULL;
pBuffer = new BYTE [nBufLength];
memset (pBuffer, 0, nBufLength);


Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

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 
AnswerRe: ???? to the right content, urgent Pin
ShilpiP18-Oct-07 2:31
ShilpiP18-Oct-07 2:31 
Questioninstrumentation & graph controls Pin
m_shezy17-Oct-07 23:56
m_shezy17-Oct-07 23:56 
AnswerRe: instrumentation & graph controls Pin
Cedric Moonen18-Oct-07 0:14
Cedric Moonen18-Oct-07 0:14 
QuestionHotkey usage for CTreeCtrl Pin
Priya_Sundar17-Oct-07 23:09
Priya_Sundar17-Oct-07 23:09 
QuestionInherit CScrollBar Pin
paresh_joe17-Oct-07 23:01
paresh_joe17-Oct-07 23:01 
AnswerRe: Inherit CScrollBar Pin
Hamid_RT18-Oct-07 0:38
Hamid_RT18-Oct-07 0:38 
AnswerRe: Inherit CScrollBar Pin
Hamid_RT18-Oct-07 0:43
Hamid_RT18-Oct-07 0:43 

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.