[Mono-list] How to use shared library with C# on linux

Miguel de Icaza miguel@ximian.com
Sat, 10 Jan 2004 20:17:23 -0500


Hello,

> MyLib_Test([MarshalAs(UnmanagedType.LPStr)] string strPath);
> 
> And I get a linker warning (when setting LD_DEBUG=libs) that it cannot
> find the symbol MyLib_TestA... Anyone seen this behaviour?

Remove the MarshalAs

> wkr,
> Gerke
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-- 
Miguel de Icaza <miguel@ximian.com>