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.