Run-time error

Yann DUPUY
Global Mapper UserTrusted User
Hi Mike,
I had a strange problem trying to run our own software which relies on GlobalMapper SDK 13.1.
The problem was crashing at launch time, and using the depends tool from Microsoft we discovered that the globalmapperinterface dll was linking with the provided MFC libraries, but a system installed gdiplus library, which was more recent.
I thought Microsoft manifest/assembly bright idea was supposed to handle this and insure that the GlobalMapper dll was running with provided libraries only (I don't really know how this works)???
Of course, I could run our software by installing Visual 2008 redistribuable files, and depends tool confirmed that only system libraries were used, instead of the delivered ones.
Is that a correct behaviour ?
Thanks,
Yann
I had a strange problem trying to run our own software which relies on GlobalMapper SDK 13.1.
The problem was crashing at launch time, and using the depends tool from Microsoft we discovered that the globalmapperinterface dll was linking with the provided MFC libraries, but a system installed gdiplus library, which was more recent.
I thought Microsoft manifest/assembly bright idea was supposed to handle this and insure that the GlobalMapper dll was running with provided libraries only (I don't really know how this works)???
Of course, I could run our software by installing Visual 2008 redistribuable files, and depends tool confirmed that only system libraries were used, instead of the delivered ones.
Is that a correct behaviour ?
Thanks,
Yann
Comments
-
Yann,
The manifest stuff should make sure that the proper version of newer libraries is used. I'm not sure if the original gdiplus.dll had a manifest though, or at least from what I can find it seems the newer gdiplus.dll files support version redirection so that the latest version can be used even though we built against an older version.
Are you certain that gdiplus.dll is the cause of the issues? There is only very limited use of gdiplus.dll in Global Mapper so that library was likely never hit anyway.
Thanks,
Mike
Global Mapper Guru
gmsupport@bluemarblegeo.com
http://www.bluemarblegeo.com/
Categories
- 12.9K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 645 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 419 Projection Questions
- 831 Raster Data
- 1.4K Vector Data
- 6.6K Support
- 180 Announcement and News
- 928 Bug Report
- 561 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 576 Other Discussion
- 132 GIS Data Sources
- 27 Global Mapper Showcase
- 243 How I use Global Mapper
- 108 Global Mapper Forum Website