OOM.NET – Outlook Crashes When Using Outlook Object Model in Multiple Threads

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. One of the major requirements most developers are up against these days is ensuring their code runs as fast as…

0

OOM.NET – Like a good standup comic – use scope and have good timing…

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. Recently, I was helping someone with a Outlook item leak type issue involving a Task FormRegion.  The symptom was that…

0

OOM.NET Part 4 – Don’t Thread On Me

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. Patrick posted a discussion of multithreading with Outlook Object Model and why it doesn’t help to make OOM calls on…

0

Part 3 – Back to the Basics, MSDN Must Reads

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. The Outlook Developer Reference on MSDN has great information on .NET and COM interop which I would consider a prerequisite…

0

OOM.NET Part 2 – Outlook Item Leaks

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. Outlook item leaks are the most common OOM with .NET issues that we see and I’ve debugged enough of them…

0

OOM.NET Part 1 – Introduction and Why Events Stop Firing…

Matt Stehle used to be on my team prior and had blogged on the usage of Outlook Object Model (OOM) under .NET. However, his blog is being closed and I am re-blogging his content here. OOM.NET is not a special API set that was created in managed code.  It is the name I’ve given to…

0

About: VSTO for Outlook

API Type:  UI Customization API Interface: .NET Business Logic: Adds features to the Outlook UI and to Outlook processing. Development Languages: .NET, OOM. Property Access: Yes Product Versions: Visual Studio 2005 and later, Office 2003 and later. Summary: Outlook VSTO add-in development allows you to write add-inapplications which will run in Outlook from Office. Points…

0

Testing sample which uses HttpWebRequest to do a POST to EWS

There are sometimes issues encountered which are difficult to resolve. There are many things which can cause issues which would call an EWS call to fail. Having well written with extensive error trapping and extensive logging is one approach. I wrote the sample below so that it could be used from any type .NET application…

0

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 know to…

0

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 = oAppointmentItem.UserProperties.Find(“MyDreams”,…

1