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

2006-01-11 Thread Paolo Molaro
On 01/11/06 Zoltan Varga wrote: > On 1/9/06, Paolo Molaro <[EMAIL PROTECTED]> wrote: > > > +public static int AddRef(IntPtr pUnk) > > > +{ > > > +IntPtr vtable = Marshal.ReadIntPtr(pUnk); > > > +IntPtr qi = Marshal.ReadIntPtr(vtable); > > > +// Qu

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

2006-01-11 Thread Zoltan Varga
Hi, On 1/9/06, Paolo Molaro <[EMAIL PROTECTED]> wrote: > > > +public static int AddRef(IntPtr pUnk) > > +{ > > +IntPtr vtable = Marshal.ReadIntPtr(pUnk); > > +IntPtr qi = Marshal.ReadIntPtr(vtable); > > +

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

2006-01-09 Thread Paolo Molaro
On 01/06/06 Jonathan S. Chambers wrote: > Here the patch for the class libs. > Index: class/corlib/System/ComProxy.cs > === > --- mcs/class/corlib/System/ComProxy.cs (revision 0) > +++ mcs/class/corlib/System/ComProxy.cs (

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

2006-01-09 Thread Paolo Molaro
On 01/06/06 Jonathan S. Chambers wrote: > Here's a first attempt at a patch for COM Interop. This only > provides support for RCWs (Runtime Callable Wrappers), i.e. using > unmanaged COM components from managed code. This should support both > classes used from Interop Assemblies (where metad

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

2006-01-07 Thread Jonathan S. Chambers
; } Type t = obj.GetType(); - Jonathan -Original Message- From: Daniel Morgan [mailto:[EMAIL PROTECTED] Sent: Sat 1/7/2006 10:23 AM To: Jonathan S. Chambers; mono-devel-list@lists.ximian.com Cc: Subject:RE: [Mono-dev] RE: Com Interop Patch - mcs Now, I added some

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

2006-01-07 Thread Daniel Morgan
rs doesn't run on mono or .Net. Not sure if the issue is with my COM stuff, or the compilers.- Jonathan-Original Message-From: Daniel Morgan [mailto:[EMAIL PROTECTED]Sent: Fri 1/6/2006 8:01 PMTo: Jonathan S. Chambers; mono-devel-list@lists.ximian.comCc: Subject: Re: [Mono-dev] RE:

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 C

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

2006-01-07 Thread Miguel de Icaza
> Would it be possible to use COM in Linux, using Wine for instance? Mono and Wine do not work really well together (Mono in the past used Wine in library form to implement its Windows.Forms library, read the archives to find out the kinds of issues involved). Running Mono and Wine on the same a

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

2006-01-07 Thread Jonathan S. Chambers
lto:[EMAIL PROTECTED] Sent: Sat 1/7/2006 8:53 AM To: Jonathan S. Chambers Cc: mono-devel-list@lists.ximian.com Subject: Re: [Mono-dev] RE: Com Interop Patch Would it be possible to use COM in Linux, using Wine for instance? On 1/6/06, Jonathan S. Chambers <[EMAIL PROTECTED]> wrote: &

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

2006-01-07 Thread Alexandre Miguel Pedro Gomes
Would it be possible to use COM in Linux, using Wine for instance?On 1/6/06, Jonathan S. Chambers <[EMAIL PROTECTED] > wrote:The patch was too big. Attached is the patch to mono. The next email will have the patch to mcs.-Original Message-From: Jonathan S. ChambersSent: Friday, January 06,

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

2006-01-07 Thread Miguel de Icaza
Hello, And I forgot to say, congratulations on the progress so far. Miguel ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

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 i

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

2006-01-06 Thread Daniel Morgan
Can you provide some examples that work on Mono? "Jonathan S. Chambers" <[EMAIL PROTECTED]> wrote: Here the patch for the class libs.-Original Message-From: Jonathan S. Chambers Sent: Friday, January 06, 2006 11:33 AMTo: mono-devel-list@lists.ximian.comSubject: Com Interop Patch Here's a