James Perrins, Thank you very much for your careful analysis. Obviously you are right, I will fix these problems in alpha4. I took it for granted the dependent dlls should locate at the same directory as libmap.dll, that's the reason caused the PATH problem.
Thank you again. Best regards, Enri ======= 2009-02-26 01:12:32 you wrote:======= >Hi enri, > >I have made some progress and sort of have it working now. > >I have discovered a a few thinsg you might like to take into account: > >1)The add layers option from the menu always seems to error - right >clicking on the map does work though > >2) I think there is some re-pathing issue - when I captured the >command you were creating and ran it from the command line - >shp2img.exe told be it could not find a dll which was in >C:\ms4w\Apache\cgi-bin\ - and this path was set in your app. As a >work around I copied all the dlls into the C:\ms4w\tools\mapserv\ >directory and things started working > >C:\ms4w\tools\mapserv\shp2img.exe -m C:\Documents and >Settings\JamesP\My Documents\Visual Studio >2005\Projects\DesktopMapServer\DesktopMapServer\384~.map -o >C:\DOCUME~1\JamesP\LOCALS~1\Temp\382~.png -s 534 497 -e >-3.42765815730672E-11 -108426.966292135 1200000 1008426.96629213 -l >"UK" > >3) I was also trying to run your app from teh desktop - which meant >the temp map file was being created on the desktop - and on XP of >course this has spaces in the path name - which caused an error - I >think you need to consider enclosing path names in quotes > >Anyway - I now have a map displaying - so I am happy - I will have >more of a play later when I have a bit more time > >Best wishes >James > >2009/2/25 enri <[email protected]>: >> Hi, >> >> With days of work, some updates have been made, it's available at >> http://code.google.com/p/mscompanion/. >> >> Changes include: >> 1. export mapfile strictly complying to the version specified (<5.0, >> 5.0-5.4,>=5.4), support the latest version of MapServer 5.4.0 beta1; >> 2. get the default version according to the specified shp2img.exe; >> 3. fixed the problem of opening an existing map created not by MSCompanion >> with custom defined image type will cause an error; >> 4. full support relative or obsolute path in all path related elements >> >> Before the finall �release of version 1.0, following features will be >> implement. >> 1. support data source type detect and CONNECTION string building (now only >> support shape file) >> 2. join: let it more smart >> 3. Layer: for Feature Grid and Data, need to consider the excluding >> relationship >> 4. Suppoert Raster data type detect >> >> If you think this tool can help you with your work, please keep an eye on >> it. And you can join the special group for MSCompanion at >> �http://groups.google.com/group/MSCompanion, so you can get updated once any >> new version is available. Also you can get prompt support from this group. >> >> Good Luck, >> Enri >> >> >> >> >> _______________________________________________ >> mapserver-users mailing list >> [email protected] >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> >> > > > >-- >Dr James Perrins >exeGesIS SDM Ltd >Great House Barn >New Street, Talgarth >Powys LD3 0AH. >Direct Line: 01646 686650 >Tel: 01874 711145 >Fax: 01874 711156 >Email: [email protected] > >This E-mail and any files transmitted with it are private and intended >solely for the use of the individual or entity to whom they are >addressed. If you are not the intended recipient, the E-mail and any >files have been transmitted to you in error and any copying, >distribution or other use of the information contained in them is >strictly prohibited. > >Nothing in this E-mail message amounts to a contractual or other legal >commitment on the part of exeGesIS SDM Ltd unless confirmed by a >signed communication. > >exeGesIS SDM Ltd will make every effort to keep its network free of >viruses. However, the recipient of this message will need to scan this >message, and any attachments, for viruses, as exeGesIS SDM Ltd can >take no responsibility for any computer virus that might be >transferred by this e-mail. = = = = = = = = = = = = = = = = = = = =
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
