Click here to Skip to main content
15,911,789 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp clarify "this" pointer with dialog boxes Pin
Kwanalouie19-May-08 1:59
Kwanalouie19-May-08 1:59 
AnswerRe: Help clarify "this" pointer with dialog boxes Pin
toxcct19-May-08 2:12
toxcct19-May-08 2:12 
AnswerRe: Help clarify "this" pointer with dialog boxes Pin
_AnsHUMAN_ 19-May-08 2:14
_AnsHUMAN_ 19-May-08 2:14 
QuestionHow can i get the summary property of docx file Pin
Prazwol19-May-08 1:32
Prazwol19-May-08 1:32 
QuestionRe: How can i get the summary property of docx file Pin
David Crow19-May-08 3:50
David Crow19-May-08 3:50 
Questioninitialization problem Pin
Dennis L19-May-08 0:16
Dennis L19-May-08 0:16 
AnswerRe: initialization problem Pin
toxcct19-May-08 0:27
toxcct19-May-08 0:27 
AnswerRe: initialization problem Pin
CPallini19-May-08 0:30
mveCPallini19-May-08 0:30 
Dennis L wrote:
memset(bs1, "", sizeof(BYTE)*480) // This run well when debugging
memset(bs2, "", sizeof(BYTE)*480) // Here crashes???


should be
memset(bs1, '\0', sizeof(bs1));
memset(bs2, '\0', sizeof(bs2));



BTW, possibly you should use some symbolic name for the buffer size, for instance
class NAME
{
private:
static const int SIZE = 480;
BYTE bs1[SIZE];
BYTE bs2[SIZE];
//..
}


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke


GeneralRe: initialization problem Pin
Dennis L19-May-08 0:36
Dennis L19-May-08 0:36 
QuestionAsyncronous connection using wininet. Pin
ShilpiP18-May-08 23:50
ShilpiP18-May-08 23:50 
QuestionRead from command prompt Pin
Kiran Pinjala18-May-08 23:43
Kiran Pinjala18-May-08 23:43 
AnswerRe: Read from command prompt Pin
toxcct18-May-08 23:46
toxcct18-May-08 23:46 
GeneralRe: Read from command prompt Pin
Kiran Pinjala19-May-08 0:33
Kiran Pinjala19-May-08 0:33 
AnswerRe: Read from command prompt Pin
Rajkumar R19-May-08 0:39
Rajkumar R19-May-08 0:39 
AnswerRe: Read from command prompt Pin
David Crow19-May-08 3:52
David Crow19-May-08 3:52 
AnswerRe: Read from command prompt Pin
sashoalm19-May-08 6:12
sashoalm19-May-08 6:12 
Questionaudio connection to PC Pin
Sunshine Always18-May-08 23:33
Sunshine Always18-May-08 23:33 
Questionc++ Pin
lipun18-May-08 23:29
lipun18-May-08 23:29 
AnswerRe: c++ Pin
Rajkumar R18-May-08 23:35
Rajkumar R18-May-08 23:35 
AnswerRe: c++ Pin
toxcct18-May-08 23:45
toxcct18-May-08 23:45 
Questionsymbol undefined Pin
subramanyeswari18-May-08 23:05
subramanyeswari18-May-08 23:05 
QuestionRe: symbol undefined Pin
CPallini18-May-08 23:09
mveCPallini18-May-08 23:09 
AnswerRe: symbol undefined Pin
subramanyeswari18-May-08 23:14
subramanyeswari18-May-08 23:14 
GeneralRe: symbol undefined Pin
toxcct18-May-08 23:19
toxcct18-May-08 23:19 
GeneralRe: symbol undefined Pin
CPallini18-May-08 23:24
mveCPallini18-May-08 23:24 

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.