error when using delete & new in class 
Author Message
 error when using delete & new in class

Need urgent assistance. when in distractor of a class I am using delete
or free to free memory that was allocated in the constructor during an
class operation, I am getting an error.

Does anyone have an answer to this problem?? If so, please email it to
me and
tell me how to fix it..
?

ps
I am using VC 4.1



Tue, 14 Mar 2000 03:00:00 GMT  
 error when using delete & new in class

Quote:

>Need urgent assistance. when in distractor of a class I am using delete
>or free to free memory that was allocated in the constructor during an
>class operation, I am getting an error.

>Does anyone have an answer to this problem?? If so, please email it to
>me and
>tell me how to fix it..
>?

>ps
>I am using VC 4.1

Please post a sample of your code...

--------------------------------------------------------------------------------


XIOtech Corporation               Personal Home Page:   http://www.visi.com/~nde
Eden Prairie, MN

"Question authority...and the authorities will end up questioning YOU!"
--------------------------------------------------------------------------------



Tue, 14 Mar 2000 03:00:00 GMT  
 error when using delete & new in class

An access violation error or something else ?
And what is the object you are creating (like an array of char) ?

Quote:
> Need urgent assistance. when in distractor of a class I am using delete
> or free to free memory that was allocated in the constructor during an
> class operation, I am getting an error.

> ps
> I am using VC 4.1



Tue, 14 Mar 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Error Using new & delete in class

2. disappearing class view & disabled insert new class

3. new & delete

4. new&delete in different threads

5. new&delete - DLL with own heap...

6. new & delete on arrays

7. Overloading new & delete

8. new/delete operator & multithread

9. Use of new & delete

10. new & delete

11. new&delete in different threads

12. new&delete - DLL with own heap...

 

 
Powered by phpBB® Forum Software