Search found 5 matches

by yanb19
Tue Jan 12, 2010 11:30 am
Forum: NetBurner Software
Topic: stack overflow or memory out with new ... delete
Replies: 4
Views: 4234

Re: stack overflow or memory out with new ... delete

Thanks for the reply it's appreciated.

I found the problem the problem

the reason to the "delete" is not in the function is because the new pointer create is stack in
chain list of pointer of this class and the pointer is use in other thread of the application..and normally
delete after the ...
by yanb19
Tue Jan 12, 2010 10:03 am
Forum: NetBurner Software
Topic: stack overflow or memory out with new ... delete
Replies: 4
Views: 4234

Re: stack overflow or memory out with new ... delete

i know is not a problem with new..delete.

but i think if you do that

void test()
{
CZone z;
CZone *t = new CZone( z ); // create clone
}

or that

void test()
{
CZone z;
CZone *t = new CZone( z ); // create clone
delete t;
}

the memory is release by the return of the function because is a ...
by yanb19
Tue Jan 12, 2010 8:05 am
Forum: NetBurner Software
Topic: stack overflow or memory out with new ... delete
Replies: 4
Views: 4234

stack overflow or memory out with new ... delete

I have a throwing exception with the "Trap Vector =Access Error (2)"
and i found where is in my software...but i found nothing special at the first time.

then i simulate the parts of the code and i call it all the time in my main to do the throwing exception.

// code with the throwing exception ...
by yanb19
Fri Jan 08, 2010 11:06 am
Forum: NetBurner Software
Topic: Throwing exception with EnableSmartTraps() and try catch
Replies: 4
Views: 4566

Re: Throwing exception with EnableSmartTraps() and try catch

:) Thanks for the reply. it is appreciated. Now I will able to find where is the problem. Thanks again.
by yanb19
Thu Dec 17, 2009 10:46 am
Forum: NetBurner Software
Topic: Throwing exception with EnableSmartTraps() and try catch
Replies: 4
Views: 4566

Throwing exception with EnableSmartTraps() and try catch

hi everyone,

I need to know if it is possible to modify or add information with the throwing exception. When the software use EnableSmartTraps() information is send to the RS-232 and you can see information about register and other think... but i would add my own information, like the value of ...