Again c# Unable to load DLL (mapscript)

Tamas Szekeres szekerest at GMAIL.COM
Thu Jul 20 11:30:02 PDT 2006


Hi,

If you are using the buildkit

nmake -f makefile.vc install

will copy the binaries into the "bin" directory.

You should make available the dll-s from this directory and
mapscript.dll should also available from your application. I recomment
to place them into your app's directory since windows will try this
path first.
You might want to use sysinternal's filemon or a similar tool to
detect whether all of the dll-s were found.

If it does not help send your test project and let's look for the
problem together.

Best Regards,

Tamas Szekeres



2006/7/20, Paolo Corti <pcorti at gmail.com>:
> Hi
>
> I like MapServer, I have started to use it only since some days.
> What I would like to do is to use the c# connector with .NET 1.1
>
> But since 2 days I have very big troubles to let it work, I always get the
> "Unable to load DLL (mapscript)" and I can't go on.
>
> I found several 3ds in this forum with my same problem, but none of them
> were helpfull for me. I tried to check missing dependencies, I tried to set
> the PATH env, I tried to copy dlls under system32, all without success.
>
> I first tried with the precompiled binaries distribution, then I downloaded
> an map server installation toolkit (mapserver-4.8.3-2-msvc71-buildk-kit.zip
> from http://hobu.stat.iastate.edu/mapserver/build_output/: 391 Mb!!!) and I
> compiled myself -with success- mapscript_csharp.dll.
>
> But when I create a stupid consol application with:
>
> mapObj map = new mapObj(@"C:\ms4w\apps\sample\sample1.map");
>
> I am always getting the same message: Unable to load DLL (mapscript)
>
> I would be very happy to use C# with MapServer, as I do with ArcIMS (since
> several years) but I just can't start....
> I am starting to think to write (in C#) a .NET Connector to the CGI Map
> Server...
>
> Thanks in advance if you will help me!
> --
> View this message in context: http://www.nabble.com/Again-c--Unable-to-load-DLL-%28mapscript%29-tf1975214.html#a5419753
> Sent from the Mapserver - User forum at Nabble.com.
>



More information about the MapServer-users mailing list