A
Atul Thombre
Hello,
I am writing a program using Outlook Object Model. The program sequentially
connects to two profiles. The first call to Logon() prompts for the
password, but somehow the second call does not prompt me for the password.
I also observed that when the first connection ends (after the call to
NameSpace.Logoff() and Application.Quit()) the Outlook.exe process
disappears from the Task Manager. But, when the Logon() call is made, the
Outlook logs in using the first profile.
I am calling Marshal.ReleaseComObject() for every instance of COM object
created and also have calls for GC.Collect() and
GC.WaitForPendingFinalizers().
Can someone shed some light on this?
Thanks,
Atul.
I am writing a program using Outlook Object Model. The program sequentially
connects to two profiles. The first call to Logon() prompts for the
password, but somehow the second call does not prompt me for the password.
I also observed that when the first connection ends (after the call to
NameSpace.Logoff() and Application.Quit()) the Outlook.exe process
disappears from the Task Manager. But, when the Logon() call is made, the
Outlook logs in using the first profile.
I am calling Marshal.ReleaseComObject() for every instance of COM object
created and also have calls for GC.Collect() and
GC.WaitForPendingFinalizers().
Can someone shed some light on this?
Thanks,
Atul.