[Mono-dev] PInvoke : argument passing by ref

2005-10-22 Thread Shankari
Hello, I am trying to isolate the updates by unmanaged code if the arguments are passed by reference in Pinvoke. I looked up marshal.c and at mono_marshal_emit_native_wrapper , the by-ref argumments are being marshalled back to managed memory. I am trying to do this by the foll : After the C co

Re: [Mono-dev] PInvoke : argument passing by ref

2005-10-22 Thread Shankari
> This doesn't work in 1.1.9, but it works in the SVN > version, see this bug: > > http://bugzilla.ximian.com/show_bug.cgi?id=76502 > >Zoltan > > On 10/23/05, Shankari <[EMAIL PROTECTED]> wrote: > > Hello, > > > > I am trying to isolate

[Mono-dev] PInvoke ques

2005-10-23 Thread Shankari
Hello again!! I think I misunderstood marshal.c as ACTUALLY pushing the arguments on stack. I think it generates IL code to push the argument on stack. In the case of reference, it generated IL code to push the address on stack. AM I correct ??? If so, can I do this : My aim is to prevent an

[Mono-dev] ( ping lupus) IL code doubts

2005-11-01 Thread Shankari
Thank you very much, shankari Yahoo! FareChase - Search multiple travel sites in one click. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list