I recently found out that MapInfo actually has a method to retrieve the current IDispatch pointer: ``` SystemInfo(17) ``` I should be able to use COM enwrap with this and supply in SystemInfo(17) as the command line parameter!