Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: school program =( Pin
ISUstudent9-Sep-04 18:06
ISUstudent9-Sep-04 18:06 
GeneralRe: school program =( Pin
David Crow10-Sep-04 3:05
David Crow10-Sep-04 3:05 
GeneralRe: school program =( Pin
Anonymous10-Sep-04 22:24
Anonymous10-Sep-04 22:24 
GeneralRe: school program =( Pin
9-Sep-04 22:07
suss9-Sep-04 22:07 
GeneralRe: school program =( Pin
rotu9-Sep-04 22:26
rotu9-Sep-04 22:26 
GeneralRe: school program =( Pin
Mike Beckerleg9-Sep-04 23:50
Mike Beckerleg9-Sep-04 23:50 
GeneralRe: school program =( Pin
ISUstudent10-Sep-04 5:06
ISUstudent10-Sep-04 5:06 
GeneralMFC app doesn't work in debug mode, works in release mode Pin
Indrawati9-Sep-04 17:03
Indrawati9-Sep-04 17:03 
OK, I am writing an MFC app using Visual C++ 6. The problem is, my program works in the release mode, but it doesn't work in the debug mode (yes, NOT the other way around!). I traced the problem, and it seems that the problem stems from one of my classes, which has a member variables like:

private:
.... some other things...
float number1[30];
float number2[30];

In this class' initialization, I use a for loop to initialize this array to all zeroes. The problem is, it seems that number2's address space overlaps with some other variables, and this overlap corrupts my program, causing some access violation (not debug assertion). This does not happen in the release mode. Could someone point to me how I can deal with this problem? Thanks!
GeneralRe: MFC app doesn't work in debug mode, works in release mode Pin
Christian Graus9-Sep-04 17:38
protectorChristian Graus9-Sep-04 17:38 
GeneralReading a file using serialization Pin
hemanth_phk9-Sep-04 12:17
susshemanth_phk9-Sep-04 12:17 
GeneralRe: Reading a file using serialization Pin
David Crow10-Sep-04 3:15
David Crow10-Sep-04 3:15 
GeneralCan't open listening socket on Win2k3 Server Pin
Jon Betzold9-Sep-04 11:52
Jon Betzold9-Sep-04 11:52 
GeneralFigured it out Pin
Jon Betzold9-Sep-04 12:57
Jon Betzold9-Sep-04 12:57 
GeneralError - windows.h already included Pin
skg7479-Sep-04 11:49
skg7479-Sep-04 11:49 
GeneralRe: Error - windows.h already included Pin
Arsalan Malik9-Sep-04 19:32
Arsalan Malik9-Sep-04 19:32 
GeneralRe: Error - windows.h already included Pin
David Crow10-Sep-04 3:17
David Crow10-Sep-04 3:17 
GeneralRe: Error - windows.h already included Pin
skg74710-Sep-04 6:07
skg74710-Sep-04 6:07 
GeneralRe: Error - windows.h already included Pin
David Crow10-Sep-04 7:59
David Crow10-Sep-04 7:59 
GeneralRe: Error - windows.h already included Pin
skg74710-Sep-04 10:12
skg74710-Sep-04 10:12 
GeneralException "The parameter is incorrect." on CArchive Pin
Ed K9-Sep-04 11:24
Ed K9-Sep-04 11:24 
GeneralRe: Exception "The parameter is incorrect." on CArchive Pin
David Crow10-Sep-04 3:27
David Crow10-Sep-04 3:27 
GeneralRe: Exception "The parameter is incorrect." on CArchive Pin
Ed K10-Sep-04 6:04
Ed K10-Sep-04 6:04 
GeneralRe: Exception "The parameter is incorrect." on CArchive Pin
David Crow10-Sep-04 7:52
David Crow10-Sep-04 7:52 
GeneralRe: Exception "The parameter is incorrect." on CArchive Pin
Ed K4-Oct-04 15:49
Ed K4-Oct-04 15:49 
GeneralOwner Draw List Box Scrolling Problem - ?XP bug Pin
Michael Gunlock9-Sep-04 11:05
Michael Gunlock9-Sep-04 11:05 

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.