Dan's WebDAV 101
This blog covers Messaging API development for Exchange and Outlook. My name is Daniel Bagley, I'm on the Messaging Developer Team.
Translate This Page
Translate this page
exchange managed API
exchange web services
Forms based authentication
outlook object model
Browse by Tags
Dan's WebDAV 101
Tagged Content List
OOM.NET - Leaks due to using a compound call and not releasing the intermediate objects.
Sometimes spotting the cause of a leak with COM objects under .NET is very difficult. Its important to keep thinking in terms of the need to release the underlying COM objects which will be referenced so that proper clean-up can be done. When .NET wrapped COM code returns an object, you should already...
10 Sep 2015
Why does AppointmentItem.UserProperties.Find leak under .NET?
If you have used COM under .NET then you are probably familiar with leaking memory under .NET and the need to call ReleaseComObject in order to release underlying COM objects which are referenced by .NET code. I ran into an issue where a customer was running into a leak with the call below: oUserProperty...
4 Aug 2015
Why is OOM code leaking items????
When you use OOM under .NET, your using managed code around COM objects via the Outlook Primary Interop Assembly (PIA). When you have managed code working with COM in this way, you have to be very careful to clean-up your references. .NET will hold onto COM objects, sometimes causing leaks, and sometimes...
6 May 2008
Detecting Application Memory leaks in Unmanaged C++ with 4 lines of code:
I had written this up for my team a while back and thought I would share.... We have customers who suspect memory leaks in our APIs. Their only clues are that memory grows and that they are using one of our APIs. One big problem is finding out if it’s their code or our API. Well, we need try doing...
31 Mar 2008
Page 1 of 1 (4 items)
© 2015 Microsoft Corporation.
Privacy & Cookies