[Mono-list] Wrapper additions

Jim Richardson develop@wtfo.wtfo-guru.com
Thu, 20 Sep 2001 05:20:06 -0500


I did test that the M$ implementation would return a string, however.

[ DllImport("kernel32", EntryPoint="GetCommandLineW") ]
		public unsafe static extern string getCommandLine();

Works perfectly in a Native Win32 .NET implementation.

> -----Original Message-----
> From: mono-list-admin@ximian.com [mailto:mono-list-admin@ximian.com]On
> Behalf Of Dietmar Maurer

> 
> Yes, looks better ;-) Please commit. Although I think returning a String
> will not work with our current PInvoke implementation. Does that work on
> M$ platform without problems (is the code tested)?
> 
> - Dietmar
> 
>