I am trying to set a CONFIG option (using C# mapscript ) but it doesn't
seems to work.
In the map file (under layer block), I have set 'PLUGIN' parameter to
the name of the DLL (without fully qualified path). I want to set the
path prefix (MS_PLUGIN_DIR) at run time.
Here is the C# code I am using,
mapObj map = new mapObj("C:\\mymap.map");
map.setConfigOption("MS_PLUGIN_DIR", "C:\\my_plugins");
map.applyConfigOptions();
imageObj image=map.draw();
It is not loading the plug-in DLL. If I set this CONFIG parameter
directly in the map file, it works fine. Also, when I debug and check
the value of 'plugin_library' on layerObj, it does not contain the
prefix of plug-in directory.
Did anyone had the same issue? Am I missing any steps here.
Appreciate any help.
Thanks
Murty
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users