For my problem using OutlookSession.EmailAcounts we can send email.. I have to know more about API to use them

Regarding private constructors in C++ If the code is like

Code:
class A
{
   private A() {}
   public fun()
   {
        ...........
   }
   static A& create()
   {
        A *a = new A();
        return *a;
    }
};
To create an object for A.
Code:
 A &b =  A::create();
In this way we can control the number of objects that are getting created for a class.
Please see http://www.velocityreviews.com/forum...nstructor.html

Last edited by sharmila; 4May2009 at 18:47.. Reason: form more readability