This project is read-only.

Easier access to 3rd party libraries

Nov 1, 2011 at 9:42 PM
Within the ocx we use a lot of 3rd party libraries, like GDAL/OGR, PROJ4, SpatialIndex, etc.
Most of these libraries are statically linked in the ocx, meaning they are merged and there's no need for additional dlls.

MapWindow.exe and several plug-ins also use 3rd party libraries, like ZedGraph, SpatiaLite, ZipLib, etc.
Currently those dlls are copied to the folder of the plug-in. This means several plug-ins can use the same library and perhaps even different version.

I want to suggest to create a folder called '3rd party' or similar and put the libraries in it. Also create a new dll called MapWindow.3rdParty.dll that will reference those libraries and if needed has some wrapping code.
This way all 3rd party libraries have 1 entry point and plug-in developers can use that. And we can make sure all plug-ins are using the same (newest) versions of the libraries.