Click here to Skip to main content
15,923,852 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CFileFolderSelectDlg? Pin
Ravi Bhavnani19-Mar-02 18:55
professionalRavi Bhavnani19-Mar-02 18:55 
AnswerRe: CFileFolderSelectDlg? Pin
Michael Dunn19-Mar-02 17:53
sitebuilderMichael Dunn19-Mar-02 17:53 
GeneralRe: CFileFolderSelectDlg? Pin
Ravi Bhavnani19-Mar-02 18:01
professionalRavi Bhavnani19-Mar-02 18:01 
GeneralMFC Skinning Pin
Greven19-Mar-02 16:01
Greven19-Mar-02 16:01 
GeneralRe: MFC Skinning Pin
alex.barylski19-Mar-02 21:33
alex.barylski19-Mar-02 21:33 
GeneralRe: MFC Skinning Pin
Jon Hulatt20-Mar-02 5:18
Jon Hulatt20-Mar-02 5:18 
GeneralQuestions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 13:38
Jesse Rosalia19-Mar-02 13:38 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Paul M Watt19-Mar-02 13:54
mentorPaul M Watt19-Mar-02 13:54 
Jesse Rosalia wrote:
First question is...when using malloc to allocate memory and _msize to retrieve the size in a Release build, the value _msize returns, and also the value stored in the memory block header is rounded up to the nearest multiple of 8

malloc attempts to allocate a buffer that is at least the size that you asked for, it may allocate a block that is larger that the requested size. So there is really nothing that you can do about the size rounding.

In your question about new, is the object that you are allocating memory for the same object in both programs?
GeneralRe: Questions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 14:13
Jesse Rosalia19-Mar-02 14:13 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Tim Smith19-Mar-02 14:35
Tim Smith19-Mar-02 14:35 
GeneralRe: Questions regarding memory management (MALLOC) Pin
Jesse Rosalia19-Mar-02 18:20
Jesse Rosalia19-Mar-02 18:20 
GeneralXP shutdown issue Pin
19-Mar-02 13:36
suss19-Mar-02 13:36 
GeneralRe: XP shutdown issue Pin
Bill Wilson19-Mar-02 14:16
Bill Wilson19-Mar-02 14:16 
GeneralRe: XP shutdown issue Pin
Joel Lucsy19-Mar-02 17:01
Joel Lucsy19-Mar-02 17:01 
QuestionHiding Dialogs? Pin
19-Mar-02 11:14
suss19-Mar-02 11:14 
AnswerRe: Hiding Dialogs? Pin
Mazdak19-Mar-02 11:25
Mazdak19-Mar-02 11:25 
AnswerRe: Hiding Dialogs? Pin
Joaquín M López Muñoz19-Mar-02 11:20
Joaquín M López Muñoz19-Mar-02 11:20 
AnswerRe: Hiding Dialogs? Pin
dazinith19-Mar-02 11:27
dazinith19-Mar-02 11:27 
GeneralRe: Hiding Dialogs? Pin
Nish Nishant19-Mar-02 13:32
sitebuilderNish Nishant19-Mar-02 13:32 
AnswerRe: Hiding Dialogs? Pin
20-Mar-02 3:02
suss20-Mar-02 3:02 
GeneralToolbar message handlers in .NET Pin
dazinith19-Mar-02 11:15
dazinith19-Mar-02 11:15 
Generalerror code 183 Pin
19-Mar-02 10:49
suss19-Mar-02 10:49 
GeneralRe: error code 183 Pin
Bill Wilson19-Mar-02 14:14
Bill Wilson19-Mar-02 14:14 
Generalbest way to replace items in a string Pin
tbbooher19-Mar-02 9:55
tbbooher19-Mar-02 9:55 
GeneralRe: best way to replace items in a string Pin
Mazdak19-Mar-02 10:27
Mazdak19-Mar-02 10:27 

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.