For the past week or so I have been investigating different ways of creating a COM OLE instances of Mapinfo in C#.NET.
This post series will done in three parts over the next few days, all out lining step by step the different methods for creating an instance of a Mapinfo COM object in .NET.
- Part One -> Creating an instance using Interop.Mapinfo.dll (tied to Mapinfo version).
- Part Two -> Creating an instance using Activator.CreateInstance and reflection. (Mapinfo version independent)
- Part Three -> Creating an instance using a mix of Activator.CreateInstance and Interop.Mapinfo.dll (Mapinfo version independent)
NOTE: All my examples apply to C#, I will add some VB examples a bit later.
[…] for it’s click handler, you will also need to reference Mapinfow.exe/Mapinfo COM server see https://woostuff.wordpress.com/2009/04/01/com-instance-mapinfo-main/ for […]