Mikro Trekker wrote:
> I am using Mono 2.4 on Vista. Project executable (C#) works fine on
> Windows platform. All managed DLLs that EXE is using reside in the same
> directory where EXE is located.
> 
> When I try to run EXE then I get DllNotFoundException ?

Unlike MS.NET, Mono is not loading p/invoke libraries from the
assembly's directory automatically.

You must either assure that the current directory is properly set
or place the native DLL into a directory listed by the PATH env var.

I believe this is fixed in SVN trunk.

Robert

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to