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.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 825 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 912 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website