[Mono-list] Re: PInvoke Conventions

Bob Salita bsalita@hotmail.com
Wed, 18 Jul 2001 10:26:59 -0500

Is Out relevant to C? Should C provide support for Outies? Perhaps an Out or 
Ref string must be returned as null terminated? This all suggestions the 
need for CDecl specific thunking.


>Nice work.  One minor comment: this describes string parameters as being 
>converted into a pointer to a "native char array".  For out and ref 
>parameters, how do you determine the size for this array?  Seems like this 
>would have to be under programmer control, e.g. specified in a marshalling 

Get your FREE download of MSN Explorer at http://explorer.msn.com