http://bugs.winehq.org/show_bug.cgi?id=22242 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|dotnet | CC| |focht(a)gmx.net --- Comment #5 from Anastasius Focht <focht(a)gmx.net> 2010-08-01 08:52:36 --- Hello, removing 'dotnet' keyword as this is a Mono bug being triaged here and not a .NET Framework/Wine one. You should start with a reduced test case for Mono. Example: --- snip --- [ComImport, ClassInterface(ClassInterfaceType.None), Guid("00021401-0000-0000-C000-000000000046")] public class CShellLink { } [ComImport, Guid("000214F9-0000-0000-C000-000000000046"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] public interface IShellLink { ... void SetDescription([MarshalAs(UnmanagedType.LPWStr)] string name); ... } ... // test code CShellLink cShellLink = new CShellLink(); IShellLink iShellLink = (IShellLink) cShellLink; iShellLink.SetDescription("test description"); Marshal.ReleaseComObject(iShellLink); iShellLink = null; Marshal.ReleaseComObject(cShellLink); cShellLink = null; --- snip --- To actually see the emitted code from AOT compiler/JIT for the icall wrapper/IShellLink proxy you would ideally make use of MONO_VERBOSE_METHOD. Regards -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.