Integrated Mapping path issue with MapInfo 64-bit

203 views
Skip to first unread message

Jonas N

unread,
Jan 13, 2017, 5:54:23 AM1/13/17
to MapInfo-L
Hi!

We're building applications using MapInfo integrated mapping. We're in the process of migrating our 32 bit application to 64 bit since it seems to be "the future" now for MapInfo Pro. However, we've early on ran into issues. The included integrated mapping samples in the MapInfo Pro folder run fine when compiled and ran from within Visual Studio, but seemingly only because the output folder for the executables is the MapInfo Pro install folder! This has never been a requirement before, when we use e.,g. MapInfo 12 via COM. It found the MapInfo dependencies via the Windows Registry. Surely, Pitney Bowes do not imply that we are to copy our flagship application into the MapInfo Pro installs by our end users? Any idea of what's going on?

Specifically, the error we get from running integrated mapping applications from arbitrary folders is that micore_ux.dll can't be found as soon as MapInfo.Application.MapInfoCore.StartUp(null) is executed. It's right there in the MapInfo Pro install folder but our applications / samples can't find it if they aren't actually compiled into C:\Program Files\MapInfo!

Jonas N

unread,
Jan 13, 2017, 6:20:49 AM1/13/17
to MapInfo-L
Answering myself to add that I have got it working using a cludge like adding the MI Pro install folder to the PATH environment variable and then manually copying MAPINFOW.PRJ and MAPINFOPRO.MNU into the folder of the application that integrates with MapInfo Pro. So ~50 MB of copied files later and manual changes, it's working but undocumented and I still have a hard time believing this is how it's intended to work. It seems like such a waste when all files are in Program Files, but our integrated mapping apps just can't find them. (unlike before the .NET transition I might add)

Digriz

unread,
Jan 18, 2017, 9:04:11 PM1/18/17
to MapInfo-L
I to am annoyed at this.  I still however cant get it to work unless i copy all the files accross which is like 264mb.  Do you know which files i need to copy.  I also am not sure how to set environmental variable.  Could i ask how you set that.

paul thomas

unread,
Jul 30, 2019, 1:18:54 AM7/30/19
to MapInfo-L
Hi there, I have the same issue and am talking to pb looking for a proper solution... if anyone has the answer already can you pls advise here. Thanks
Reply all
Reply to author
Forward
0 new messages