Re: [Mono-dev] [PATCH] MS.NET compatible Path.GetTempFileName

2006-01-07 Thread Miguel de Icaza
Hello, How about just appending .tmp to the temp file name while still using ints for the pattern? Yes, lets do this. This is a particular case where an application depended on this bit. The rest (the actual format of the filename) is something that we will not copy. Miguel

Re: [Mono-dev] RE: Com Interop Patch

2006-01-07 Thread Miguel de Icaza
Hello, My comments are as follows: * Please provide a ChangeLog for all the changes. * New fields in structures need to include documentation. I know that we have not done this in the past, but we are trying to rectify this, so for new patches, we should

RE: [Mono-dev] RE: Com Interop Patch

2006-01-07 Thread Jonathan S. Chambers
Alexandre, I have no clue. I have never used Wine. I believe that Wine uses a binary compatible implementation of COM. If so, in my ignorance I don't see why it would not be possible. It may need some additional setup, there may be threading issues, etc. I'll try it out when I have free

Re: [Mono-dev] RE: Com Interop Patch

2006-01-07 Thread Alexandre Miguel Pedro Gomes
I was just wondering :) That would be very nice because it could enable us to run such things as WebMatrix or SharpDevelop, since they use IE to asp.net stuff. Of course the ultimate goal would be to run VS.Net :POn 1/7/06, Miguel de Icaza [EMAIL PROTECTED] wrote: Would it be possible to use COM

RE: [Mono-dev] RE: Com Interop Patch - mcs

2006-01-07 Thread Daniel Morgan
Now, I added some code to navigate to a web page. I built with vs.net 2005. It runs on .net 2.0 okay. It fails to run on Mono with your COM interop patch. IWebBrowser2 ie = new InternetExplorerClass(); object o = null; ie.Navigate(@"http://www.mono-project.com", ref o, ref o, ref o,

[Mono-dev] RE: Com Interop Patch

2006-01-07 Thread Daniel Morgan
I tried it a different way this time. This works on .net 2.0 too, but not mono. IWebBrowser2 ie = new InternetExplorerClass(); IntPtr p = IntPtr.Zero; object o = (object)p; ie.Navigate(@"http://www.mono-project.com", ref o, ref o, ref o, ref o); ie.Visible = true;$ mono

RE: [Mono-dev] RE: Com Interop Patch - mcs

2006-01-07 Thread Jonathan S. Chambers
Go to Variant.cs, in VariantFromObject. Change the top to the following (forgot the null check): Variant vt = new Variant(); if (obj == null) { vt.vt = (ushort)System.Runtime.InteropServices.VarEnum.VT_EMPTY; return vt; }

[Mono-dev] Embedding Mono

2006-01-07 Thread Janne Rantala
Hasn't anyone used Visual Studio 2005 for running Mono embed samples? I'm still trying to figure why I get Access violation reading location -error messages when I try to run my program. I've located the error in GetSystemTimeAsFileTime -method which is called from __security_init_cookie(), but

[Mono-dev] Invalid IL code (sub.ovf) generated by mcs 1.1.12.1

2006-01-07 Thread Sebastian Nowozin
Hello, I filed a bug report at http://bugzilla.ximian.com/show_bug.cgi?id=77180 together with a reproducing sample file. Thanks, Sebastian ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com