Re: LPDispatch question
From: John Doe (nsubrin_at_b2btech.com)
Date: 03/11/04
- Next message: Bobby C. Jones: "Re: Reflection and COM objects"
- Previous message: Robin Tucker: "Marshal a Metafile picture from a COM IDataObject?"
- In reply to: Mattias Sjögren: "Re: LPDispatch question"
- Messages sorted by: [ date ] [ thread ]
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.
- Next message: Bobby C. Jones: "Re: Reflection and COM objects"
- Previous message: Robin Tucker: "Marshal a Metafile picture from a COM IDataObject?"
- In reply to: Mattias Sjögren: "Re: LPDispatch question"
- Messages sorted by: [ date ] [ thread ]