Click here to Skip to main content
15,892,298 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General'new' limit Pin
Erik Hammar26-Jan-02 23:56
Erik Hammar26-Jan-02 23:56 
Hi, all you happy coders

I Hope somebody can help me with this problem I am having:

In my program i try to allocate about 500KB (in smaller pieces) with the new operator,
but it hangs in some function called '__sbh_alloc_block'...
Is this because I can't get more memory from windows...?

Thanks in advance,
Erik Hammar

Confused | :confused:
GeneralRe: 'new' limit Pin
Nish Nishant27-Jan-02 0:06
sitebuilderNish Nishant27-Jan-02 0:06 
GeneralRe: 'new' limit Pin
Erik Hammar27-Jan-02 0:07
Erik Hammar27-Jan-02 0:07 
GeneralRe: 'new' limit Pin
Nish Nishant27-Jan-02 0:24
sitebuilderNish Nishant27-Jan-02 0:24 
GeneralRe: 'new' limit Pin
Erik Hammar27-Jan-02 0:32
Erik Hammar27-Jan-02 0:32 
GeneralRe: 'new' limit Pin
Nish Nishant27-Jan-02 0:45
sitebuilderNish Nishant27-Jan-02 0:45 
GeneralRe: 'new' limit Pin
Erik Hammar27-Jan-02 1:03
Erik Hammar27-Jan-02 1:03 
GeneralRe: 'new' limit Pin
Nish Nishant27-Jan-02 1:08
sitebuilderNish Nishant27-Jan-02 1:08 
GeneralUsing CRecordset for more complex queries... Pin
26-Jan-02 20:59
suss26-Jan-02 20:59 
GeneralRe: Using CRecordset for more complex queries... Pin
Mazdak26-Jan-02 21:36
Mazdak26-Jan-02 21:36 
GeneralWeird problem with a timer and a SDI Pin
RobJones26-Jan-02 19:56
RobJones26-Jan-02 19:56 
GeneralRe: Weird problem with a timer and a SDI Pin
alex.barylski26-Jan-02 21:53
alex.barylski26-Jan-02 21:53 
GeneralRe: Weird problem with a timer and a SDI Pin
Nish Nishant26-Jan-02 22:53
sitebuilderNish Nishant26-Jan-02 22:53 
GeneralRe: Weird problem with a timer and a SDI Pin
RobJones27-Jan-02 5:56
RobJones27-Jan-02 5:56 
QuestionWhere can i get All type of API functions? Pin
anju26-Jan-02 19:18
anju26-Jan-02 19:18 
AnswerRe: Where can i get All type of API functions? Pin
Michael Dunn26-Jan-02 19:46
sitebuilderMichael Dunn26-Jan-02 19:46 
AnswerRe: Where can i get All type of API functions? Pin
alex.barylski26-Jan-02 21:58
alex.barylski26-Jan-02 21:58 
AnswerRe: Where can i get All type of API functions? Pin
Nish Nishant27-Jan-02 1:42
sitebuilderNish Nishant27-Jan-02 1:42 
GeneralCPen styles Pin
Steve L.26-Jan-02 15:41
Steve L.26-Jan-02 15:41 
GeneralRe: CPen styles Pin
alex.barylski26-Jan-02 22:34
alex.barylski26-Jan-02 22:34 
GeneralYuck: Globals and Static Data Members Pin
Swinefeaster26-Jan-02 14:05
Swinefeaster26-Jan-02 14:05 
GeneralRe: Yuck: Globals and Static Data Members Pin
alex.barylski26-Jan-02 22:03
alex.barylski26-Jan-02 22:03 
GeneralRe: Yuck: Globals and Static Data Members Pin
Swinefeaster26-Jan-02 22:21
Swinefeaster26-Jan-02 22:21 
GeneralWaitForSingleObject Pin
Sergei26-Jan-02 14:02
Sergei26-Jan-02 14:02 
GeneralRe: WaitForSingleObject Pin
Not Active26-Jan-02 16:22
mentorNot Active26-Jan-02 16:22 

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.