Click here to Skip to main content
16,004,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Out-Of-Memory Pin
David Crow15-Apr-04 4:24
David Crow15-Apr-04 4:24 
GeneralRe: Out-Of-Memory Pin
Gurra_Koo15-Apr-04 5:26
Gurra_Koo15-Apr-04 5:26 
GeneralRe: Out-Of-Memory Pin
David Crow15-Apr-04 5:29
David Crow15-Apr-04 5:29 
GeneralRe: Out-Of-Memory Pin
Gurra_Koo15-Apr-04 5:32
Gurra_Koo15-Apr-04 5:32 
GeneralRe: Out-Of-Memory Pin
David Crow15-Apr-04 5:34
David Crow15-Apr-04 5:34 
GeneralRe: Out-Of-Memory Pin
Gurra_Koo15-Apr-04 5:39
Gurra_Koo15-Apr-04 5:39 
GeneralRe: Out-Of-Memory Pin
David Crow15-Apr-04 6:52
David Crow15-Apr-04 6:52 
GeneralRe: Out-Of-Memory Pin
Antony M Kancidrowski15-Apr-04 5:17
Antony M Kancidrowski15-Apr-04 5:17 
What I meant was are you allocation memory to data statically or dynamically.

i.e.
char data[1000000];      // Or some large numbers

or
char* pdata;

pdata = new char[1000000];
delete [] pdata;

If you are running through the debugger you should be able to see what it is that is failing to allocate. If you look at the call stack, what is being called?

Ant.
GeneralRe: Out-Of-Memory Pin
Gurra_Koo15-Apr-04 5:39
Gurra_Koo15-Apr-04 5:39 
GeneralRe: Out-Of-Memory Pin
David Crow15-Apr-04 6:54
David Crow15-Apr-04 6:54 
GeneralRe: Out-Of-Memory Pin
Antony M Kancidrowski15-Apr-04 8:02
Antony M Kancidrowski15-Apr-04 8:02 
GeneralRe: Out-Of-Memory Pin
antlers15-Apr-04 11:37
antlers15-Apr-04 11:37 
GeneralChange the default color in my CDialog Pin
anderslundsgard15-Apr-04 0:50
anderslundsgard15-Apr-04 0:50 
GeneralRe: Change the default color in my CDialog Pin
GermanGeorge20-Apr-04 23:14
GermanGeorge20-Apr-04 23:14 
GeneralRe: Change the default color in my CDialog Pin
anderslundsgard21-Apr-04 0:18
anderslundsgard21-Apr-04 0:18 
GeneralRe: Change the default color in my CDialog Pin
GermanGeorge21-Apr-04 0:45
GermanGeorge21-Apr-04 0:45 
GeneralRe: Change the default color in my CDialog Pin
anderslundsgard21-Apr-04 0:56
anderslundsgard21-Apr-04 0:56 
GeneralVariable number of parameters Pin
sschilachi15-Apr-04 0:49
sschilachi15-Apr-04 0:49 
GeneralRe: Variable number of parameters Pin
irshad_bukhari15-Apr-04 1:01
irshad_bukhari15-Apr-04 1:01 
GeneralRe: Variable number of parameters Pin
toxcct15-Apr-04 2:34
toxcct15-Apr-04 2:34 
GeneralRe: Variable number of parameters Pin
Mike Dimmick15-Apr-04 3:01
Mike Dimmick15-Apr-04 3:01 
GeneralIDE question Pin
gu mingqiu14-Apr-04 23:55
gu mingqiu14-Apr-04 23:55 
QuestionHow to add user defined buttons to Property Sheet? Pin
P_JAYAPRAKASH14-Apr-04 23:45
P_JAYAPRAKASH14-Apr-04 23:45 
AnswerRe: How to add user defined buttons to Property Sheet? Pin
grigsoft15-Apr-04 0:07
grigsoft15-Apr-04 0:07 
QuestionVirtual Ports? Pin
Prakash Nadar14-Apr-04 23:25
Prakash Nadar14-Apr-04 23:25 

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.