Click here to Skip to main content
15,924,195 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCEdit & CDialog Pin
gas21-Jan-01 11:13
gas21-Jan-01 11:13 
GeneralRe: CEdit & CDialog Pin
Masoud Samimi21-Jan-01 11:39
Masoud Samimi21-Jan-01 11:39 
GeneralRe: CEdit & CDialog Pin
gas21-Jan-01 11:54
gas21-Jan-01 11:54 
GeneralRe: CEdit & CDialog Pin
Masoud Samimi21-Jan-01 22:57
Masoud Samimi21-Jan-01 22:57 
GeneralRe: CEdit & CDialog Pin
gas22-Jan-01 10:06
gas22-Jan-01 10:06 
GeneralRe: CEdit & CDialog Pin
Masoud Samimi22-Jan-01 23:02
Masoud Samimi22-Jan-01 23:02 
Questionstrcore.cpp error? Can someone please look at this? Pin
21-Jan-01 10:59
suss21-Jan-01 10:59 
AnswerRe: strcore.cpp error? Can someone please look at this? Pin
AlexMarbus21-Jan-01 11:55
AlexMarbus21-Jan-01 11:55 
.. If I take out all of these AddEntry commands ..

I think those AddEntry-commands are usefull for understanding the working of this example (I'm not sure, I haven't downloaded the project). Why do you comment those lines out? Does the example work fine if you don't comment them out?

.. I get a strcore.cpp error ..
Are you sure the error is caused there? I think the error is 'created' a long way before that. Check the Call-Stack to trace it to the code where you can 'understand' it. Probably the last function called in the project code. Place a breakpoint there, and check every value (variables) you can find. I'm sure you'll see something weird going on.

Looks like you are trying to do something with an invalid value. For example, a call to GetItemData for an entry that doesn't exist (-1) or an entry that doesn't have ItemData.
The project should check for this (if (this->GetCount() > 0) doSomething()). If it doesn't, the project sux.. Poke tongue | ;-P

--
Alex Marbus
GeneralDoc/View Questions Pin
Member 671821-Jan-01 9:41
Member 671821-Jan-01 9:41 
GeneralRe: Doc/View Questions Pin
Masoud Samimi21-Jan-01 11:46
Masoud Samimi21-Jan-01 11:46 
QuestionHow ???.... ??? :confused: Pin
21-Jan-01 9:16
suss21-Jan-01 9:16 
AnswerRe: How ???.... ??? :confused: Pin
21-Jan-01 9:36
suss21-Jan-01 9:36 
AnswerRe: How ???.... ??? :confused: Pin
Michael Dunn21-Jan-01 9:54
sitebuilderMichael Dunn21-Jan-01 9:54 
GeneralRe: How ???.... ??? :confused: Pin
21-Jan-01 12:00
suss21-Jan-01 12:00 
GeneralRe: How ???.... ??? :confused: Pin
Erik Funkenbusch22-Jan-01 12:19
Erik Funkenbusch22-Jan-01 12:19 
Questionhow do you send a command line properly? Pin
mrtoast21-Jan-01 3:25
mrtoast21-Jan-01 3:25 
AnswerRe: how do you send a command line properly? Pin
21-Jan-01 5:32
suss21-Jan-01 5:32 
GeneralRe: how do you send a command line properly? Pin
mrtoast21-Jan-01 9:07
mrtoast21-Jan-01 9:07 
GeneralRe: how do you send a command line properly? Pin
Chris Losinger21-Jan-01 9:16
professionalChris Losinger21-Jan-01 9:16 
GeneralRe: how do you send a command line properly? Pin
Tim Deveaux21-Jan-01 13:49
Tim Deveaux21-Jan-01 13:49 
QuestionWhat are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 14:08
suss20-Jan-01 14:08 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
20-Jan-01 21:11
suss20-Jan-01 21:11 
AnswerRe: What are the ids and types of all items in the Open File Common Dialog ? Pin
22-Jan-01 12:19
suss22-Jan-01 12:19 
GeneralSave & Load Pin
20-Jan-01 8:02
suss20-Jan-01 8:02 
GeneralRe: Save & Load Pin
Christian Graus20-Jan-01 13:59
protectorChristian Graus20-Jan-01 13:59 

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.