Hey Jayant
This is a copy of the reply I sent to the MapInfo-L
In the IntegratedMappingWpf example that comes with MapBasic v2023, I can see the MapInfo Pro is initiated using this statement:
// Initialize the IMapInfoApplication interface.
Application = MapInfoCore.Initialize(this, this);
if (Application == null)
{
return;
}
We do supply four samples with MapBasic.
Can you check them out and see if this approach works for you?
I can't tell from your screenshot if this is calling a constructor of your own.
_MIApp = new MapInfoApplication()
------------------------------
Peter Horsbøll Møller
Principal Presales Consultant | Distinguished Engineer
Precisely | Trust in Data
------------------------------