Click here to Skip to main content
15,915,869 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerMove Window to Second Monitor Pin
vikrant kpr18-May-09 5:43
vikrant kpr18-May-09 5:43 
GeneralRe: Move Window to Second Monitor Pin
Stuart Dootson18-May-09 8:30
professionalStuart Dootson18-May-09 8:30 
JokeRe: Move Window to Second Monitor Pin
BadKarma18-May-09 22:23
BadKarma18-May-09 22:23 
QuestionFile/New makes my program shrink Pin
DanYELL18-May-09 5:12
DanYELL18-May-09 5:12 
QuestionRe: File/New makes my program shrink Pin
David Crow18-May-09 7:53
David Crow18-May-09 7:53 
AnswerRe: File/New makes my program shrink Pin
DanYELL18-May-09 8:32
DanYELL18-May-09 8:32 
QuestionRe: File/New makes my program shrink Pin
David Crow18-May-09 9:05
David Crow18-May-09 9:05 
Question[Message Deleted] Pin
wangjian0000018-May-09 5:06
wangjian0000018-May-09 5:06 
QuestionRe: How can I contrl the applications's paste ,cut, and so on. such as office,autocad,photoshop etc. Pin
David Crow18-May-09 10:16
David Crow18-May-09 10:16 
Questionsmtp server Pin
santanukarmakar18-May-09 4:44
santanukarmakar18-May-09 4:44 
AnswerRe: smtp server Pin
Rajesh R Subramanian18-May-09 4:52
professionalRajesh R Subramanian18-May-09 4:52 
QuestionPlay Sound File Pin
javad_200518-May-09 4:19
javad_200518-May-09 4:19 
AnswerRe: Play Sound File Pin
santanukarmakar18-May-09 4:47
santanukarmakar18-May-09 4:47 
Questionchange title of a tab page. Pin
FISH78618-May-09 3:26
FISH78618-May-09 3:26 
AnswerRe: change title of a tab page. Pin
«_Superman_»18-May-09 3:36
professional«_Superman_»18-May-09 3:36 
GeneralRe: change title of a tab page. Pin
FISH78618-May-09 4:08
FISH78618-May-09 4:08 
GeneralRe: change title of a tab page. Pin
«_Superman_»18-May-09 4:32
professional«_Superman_»18-May-09 4:32 
GeneralRe: change title of a tab page. Pin
FISH78618-May-09 4:42
FISH78618-May-09 4:42 
GeneralRe: change title of a tab page. Pin
«_Superman_»18-May-09 5:05
professional«_Superman_»18-May-09 5:05 
GeneralRe: change title of a tab page. Pin
FISH78619-May-09 9:24
FISH78619-May-09 9:24 
GeneralRe: change title of a tab page. Pin
«_Superman_»19-May-09 20:18
professional«_Superman_»19-May-09 20:18 
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 
I get an access violation in release mode but not in debug.
Yes, I know it's been talked about in many threads and I think I have read all of them. I can even debug release mode now, to impress my colleagues.

It dies when I hop into a dll I wrote, but not always quite in the same place. I have a feeling I have a NULL pointer. Anyway, I have been looking at ways I might be making a null pointer, and have made many improvements, but it still crashes.

HERE is the question...

One of the threads here asked if the poster had code in his constructor. Now I often have code in my constructors, I even call other constructors, with new (and I delete every single one, I promise), and as far as I am concerned this is quite normal and acceptable. Am I wrong? Could this be it? I also put code in destructors, deleting stuff and ending other processes.

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

modified on Monday, May 18, 2009 9:26 AM

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.