Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new shuts down program

Status
Not open for further replies.

Leroy1981

Programmer
Jul 22, 2002
46
US
On a couple of projects I had the program unexpectedly shut down with no message or anything. I traced it to
a line of code that was using new to allocate memory.

Any suggestions?
 
Could it be that you're trying to allocate more memory that possible and this leads to an exception where the default is to shut down the allocator???

Totte
 
I think you try to to a new on an object which contructor does something illegal.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top