Page 1 of 1

Help Memory problem with NET

Posted: Fri Sep 16, 2005 2:28 am
by Ciccio
I have a couple of problems and maybe somebody can help, please.
I'm using NET 2003 and I'm using managed forms.

a) To be able to allocate space in memory I need to use the "new" constructor else no spece is taken.
b) After I used the "new" operator if I use the "delete" operator I get an exception "_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)"

I also tried the "gflFreeBitmapData" or "gflMemoryFree", but they don't free anything.

Any suggestion is really appreciated

Re: Help Memory problem with NET

Posted: Sun Sep 18, 2005 2:05 pm
by xnview
Ciccio wrote:I have a couple of problems and maybe somebody can help, please.
I'm using NET 2003 and I'm using managed forms.

a) To be able to allocate space in memory I need to use the "new" constructor else no spece is taken.
b) After I used the "new" operator if I use the "delete" operator I get an exception "_BLOCK_TYPE_IS_VALID(pHead->nBlockUse)"

I also tried the "gflFreeBitmapData" or "gflMemoryFree", but they don't free anything.

Any suggestion is really appreciated
Sorry but i don't know .NET :-(