Problem csharp!

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem csharp!

simoselva
Hello!

Sorry for my english Smile

I've this problem:

I have:

-Installed ms4w

-created a form application

-added the reference to mapscript_csharp

-writed "using OSGeo.MapServer;"

so....when i try to create a map:

mapObj mappa = new mapObj(null); (null or path....the same result)

i haven't compilation errors...but i receive an exception at runtime:

L'inizializzatore di tipo di 'OSGeo.MapServer.mapscriptPINVOKE' has thrown an exception.

I'm starting to try c# and mapserver...so probably it's my fault but, can you help me?

Thanks, bye

Simo