How to write an outlook add-in using unmanaged code (C++/Delphi)?

Viewed 260

I developed an Outlook Add-in using C#.

I want do completely avoid being punished for slowing down Outlook startup.

Therefore I would like to create a "Loader"-Add-in. It's written in C++/Delphi and does nothing but enabling the C#-Add-in after itself has beeing loaded.

There are a lot of hints on stackoverflow, etc. but no straightforward documentation available.

Questions:

  1. Is there any straightforward documentation about how to write an Outlook Add-in using C++/Delphi?
  2. Is there any documentation about how to write an Add-in which enables a secondary Add-in?
2 Answers

There are no straightforward documentation about how to write an Outlook Add-in using C++/Delphi, because outlook add-ins has two models

  1. VSTO (old) is designed for .Net Framework and c#. Works via COM (Microsoft.Office.Interop.*).
  2. Add-ins is designed for TypeScript (outlook web add-ins).

More about loading VSTO add-in, you can read in Architecture of VSTO Add-ins

So, there are no easy way to write managed dll for VSTO via c++. There are right way is read documentation about VSTO architecture, and solve perfomance problem in loading add-in.

Related