Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionFont Dialog Title Text Pin
susanne118-May-09 3:08
susanne118-May-09 3:08 
AnswerRe: Font Dialog Title Text Pin
Naveen18-May-09 3:27
Naveen18-May-09 3:27 
GeneralRe: Font Dialog Title Text Pin
susanne118-May-09 4:32
susanne118-May-09 4:32 
Questioncode in constructors [modified] Pin
RedSonja18-May-09 2:50
RedSonja18-May-09 2:50 
AnswerRe: access violation in release but not in debug Pin
_AnsHUMAN_ 18-May-09 3:04
_AnsHUMAN_ 18-May-09 3:04 
GeneralRe: access violation in release but not in debug Pin
RedSonja18-May-09 3:07
RedSonja18-May-09 3:07 
AnswerRe: code in constructors Pin
Rajesh R Subramanian18-May-09 4:49
professionalRajesh R Subramanian18-May-09 4:49 
GeneralRe: code in constructors Pin
RedSonja18-May-09 20:50
RedSonja18-May-09 20:50 
Thank you. I do know where it crashes, it enters my little dll through an exported function, then instantiates the class in there, and dies in the constructor, right on the {.

I can tell that its problem is a null or corrupted pointer, because the debugger lets me look at the assembly code, and it tries to jump to places it's not allowed to, an access violation, as it says.

I am trying to get DevPartner to run again. (The newest version seems to be a bit buggy.) When it was running before, it complained about "Calling Virtual Functions from Constructors and Destructors" and stuff like that, which I have stopped doing (this is what I meant by improvements). Hence my question. Is it OK to put code - I mean, real code that does things - in the constructor and destructor, when the compiler allows it and DevPartner whinges about it?

If I can't get it running this week I shall just have to deliver the debug version, which is not so tragic right now, but it bothers me.

-------------
Ave computer! Hackitura te salutat!
(I just made this up. Just to show you can hack Latin as well as C++.)

QuestionHow can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:29
Le@rner18-May-09 2:29 
AnswerRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 2:40
Naveen18-May-09 2:40 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:44
Le@rner18-May-09 2:44 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 2:56
Naveen18-May-09 2:56 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 2:57
Le@rner18-May-09 2:57 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 3:00
Naveen18-May-09 3:00 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 18:12
Le@rner18-May-09 18:12 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Naveen18-May-09 18:24
Naveen18-May-09 18:24 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
David Crow18-May-09 3:31
David Crow18-May-09 3:31 
GeneralRe: How can SetTimer on Modeless dialogbox? Pin
Le@rner18-May-09 18:13
Le@rner18-May-09 18:13 
QuestionLooking for a good serialization design which can support multi-inheritance [modified] Pin
transoft18-May-09 2:11
transoft18-May-09 2:11 
AnswerRe: Looking for a good serialization design which can support multi-inheritance Pin
Stuart Dootson18-May-09 8:09
professionalStuart Dootson18-May-09 8:09 
Questionnew line not allowed Pin
susanne118-May-09 2:09
susanne118-May-09 2:09 
AnswerRe: new line not allowed Pin
Naveen18-May-09 2:34
Naveen18-May-09 2:34 
GeneralRe: new line not allowed Pin
susanne118-May-09 2:56
susanne118-May-09 2:56 
GeneralRe: new line not allowed Pin
Naveen18-May-09 3:12
Naveen18-May-09 3:12 
GeneralRe: new line not allowed Pin
susanne118-May-09 4:28
susanne118-May-09 4:28 

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.