Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiona "new" operator failed Pin
a_matseevsky3-Jan-13 7:41
a_matseevsky3-Jan-13 7:41 
People, I met a rather strange situation. I deleted a small memory block and after it was not able to allocate another one. Operator "new" presented me with "out of memory" exception. But without previous call of "delete" "new" gave me what I asked it for (I'm talking about small blocks, something like 10KB). At that very time VirtualAlloc() successfully allocated required memory. How could it be?
AnswerRe: a "new" operator failed Pin
jschell3-Jan-13 8:06
jschell3-Jan-13 8:06 
GeneralRe: a "new" operator failed Pin
a_matseevsky3-Jan-13 8:50
a_matseevsky3-Jan-13 8:50 
AnswerRe: a "new" operator failed Pin
CPallini3-Jan-13 9:06
mveCPallini3-Jan-13 9:06 
GeneralRe: a "new" operator failed Pin
a_matseevsky3-Jan-13 22:41
a_matseevsky3-Jan-13 22:41 
QuestionActiveX Memory leaks Pin
Manish K. Agarwal2-Jan-13 19:40
Manish K. Agarwal2-Jan-13 19:40 
AnswerRe: ActiveX Memory leaks Pin
April Fans3-Jan-13 15:23
April Fans3-Jan-13 15:23 
GeneralRe: ActiveX Memory leaks Pin
Richard MacCutchan3-Jan-13 22:29
mveRichard MacCutchan3-Jan-13 22:29 
AnswerRe: ActiveX Memory leaks Pin
April Fans3-Jan-13 15:50
April Fans3-Jan-13 15:50 
QuestionRe: ActiveX Memory leaks Pin
Manish K. Agarwal7-Jan-13 0:28
Manish K. Agarwal7-Jan-13 0:28 
QuestionFileSystemWatcher Class in Visual C++ 6.0 Pin
ForNow2-Jan-13 15:23
ForNow2-Jan-13 15:23 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Stephen Hewitt2-Jan-13 17:02
Stephen Hewitt2-Jan-13 17:02 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Maximilien3-Jan-13 5:26
Maximilien3-Jan-13 5:26 
AnswerRe: FileSystemWatcher Class in Visual C++ 6.0 Pin
Chris Losinger3-Jan-13 7:42
professionalChris Losinger3-Jan-13 7:42 
Questionhow to batch build VC++ 6 project to VC++ 2010? Pin
Falconapollo2-Jan-13 5:02
Falconapollo2-Jan-13 5:02 
AnswerRe: how to batch build VC++ 6 project to VC++ 2010? Pin
Maximilien2-Jan-13 5:37
Maximilien2-Jan-13 5:37 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? Pin
Falconapollo2-Jan-13 15:46
Falconapollo2-Jan-13 15:46 
AnswerRe: how to batch build VC++ 6 project to VC++ 2010? Pin
jschell2-Jan-13 8:12
jschell2-Jan-13 8:12 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? Pin
Maximilien2-Jan-13 9:37
Maximilien2-Jan-13 9:37 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? Pin
jschell3-Jan-13 8:04
jschell3-Jan-13 8:04 
GeneralRe: how to batch build VC++ 6 project to VC++ 2010? Pin
Maximilien3-Jan-13 8:36
Maximilien3-Jan-13 8:36 
QuestionWho can take a look at my code? Pin
McPhantom2-Jan-13 3:56
McPhantom2-Jan-13 3:56 
AnswerRe: Who can take a look at my code? Pin
Pete O'Hanlon2-Jan-13 4:00
mvePete O'Hanlon2-Jan-13 4:00 
AnswerRe: Who can take a look at my code? Pin
OriginalGriff2-Jan-13 4:13
mveOriginalGriff2-Jan-13 4:13 
AnswerRe: Who can take a look at my code? Pin
DaveAuld2-Jan-13 4:18
professionalDaveAuld2-Jan-13 4:18 

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.