[Mono-dev] PInvoke ques

Shankari shankari82 at yahoo.com
Sun Oct 23 05:30:27 EDT 2005


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 update to a pass-by-ref
value(this is a part of my work in fault isolation).
My idea is to make a copy of the managed type , so
this copy will be updated rather than the original
one.

I think this can only be achieved by generating
appropriate IL code. (??)

In order to do this , I need the size of the managed
object. Does the instance_size denote  the size of the
"managed object" ??


Thanks,
$


		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs



More information about the Mono-devel-list mailing list