Advertisement

08.18.2006 at 05:29AM PDT, ID: 21959135
[x]
Attachment Details

Difference betwen Finalize and Dispose

Asked by sudhakar_koundinya in Microsoft Visual C++.Net

Tags: finalize, difference, dispose

Dear All,

I would like to know the difference between Dispose and Finalize functions.

In below destructors, which is Dispose method and which is Finalize method. If user writes his own Dispose and Finalize methods in MC++, which is going to be called. Is that user defined methods or destructors?

              /// <summary>
            /// <b>Type: Destructor</b><br/>            
            /// </summary>
            !ImageFilter()
            {
            }
            /// <summary>
            /// <b>Type: Destructor</b><br/>            
            /// </summary>
            virtual ~ImageFilter()
            {
            }


Thanks
Sudhakar ChavaliStart Free Trial
[+][-]08.18.2006 at 05:42AM PDT, ID: 17341726

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C++.Net
Tags: finalize, difference, dispose
Sign Up Now!
Solution Provided By: AlexFM
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.03.2006 at 01:05AM PDT, ID: 17444749

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32