Ben, thanks for the info. I found libexpat.dll in Graphviz and it indeed incompatible with MapWinGIS. However I wasn't able to reproduce abnormal loading order by editing PATH.
If I place correct version in c:\temp and none in c:\dev\mapwingis, it's loaded correctly from PATH.
So it seems everything works as it should be on my PC.
- I created c:\temp folder;
- placed it first in PATH;
- put wrong version of libexpat.dll in it;
-
MapWinGIS still registers fine with regsvr32 and Dependency Walker reports that gdal20.dll is linked against libexpat.dll in c:\dev\mapwingis folder (as it should be);
If I place correct version in c:\temp and none in c:\dev\mapwingis, it's loaded correctly from PATH.
So it seems everything works as it should be on my PC.