Re: LPDispatch question

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: John Doe (nsubrin_at_b2btech.com)
Date: 03/11/04


Date: Thu, 11 Mar 2004 09:41:10 -0500

This worked for me.

Thanks
"Mattias Sjögren" <mattias.dont.want.spam@mvps.org> wrote in message
news:%23K0Uo9tBEHA.2360@TK2MSFTNGP10.phx.gbl...
>
> >Is there another
> >data type I can use rather than 'object'?
>
> Object is correct, but you should decorate it with the attribute
>
> [MarshalAs(UnmanagedType.IDispatch)]
>
>
>
> Mattias
>
> --
> Mattias Sjögren [MVP] mattias @ mvps.org
> http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
> Please reply only to the newsgroup.