Re: LPDispatch question

From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 03/10/04


Date: Wed, 10 Mar 2004 21:34:49 +0100


>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.


Relevant Pages

  • Re: SystemParametersInfo and pvParam
    ... >I want to know what type I must use to both set and get of this api works ... It depends on the actual argument data type, ... Mattias Sjögren [MVP] mattias @ mvps.org ... Please reply only to the newsgroup. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Help with time tracking database
    ... "Ken Snell (MVP)" wrote: ... Data type mismatch in criteria expression. ... This always is a query -- if you create and save a query and ...
    (microsoft.public.access.modulesdaovba)
  • Re: Control Source DRIVING ME MAD
    ... Allen Browne - Microsoft MVP. ... Perth, Western Australia. ... > false arguments) were of the same data type as well. ... rather than allenbrowne at mvps dot org. ...
    (microsoft.public.access.formscoding)
  • Re: basic question: decimal, single, double
    ... Single (single-precision floating-point) is 4 bytes in size and can hold ... There's also Currency (scaled integer) with is 8 bytes in size, ... Doug Steele, Microsoft Access MVP ... double data type: 3.12345678901235 ...
    (microsoft.public.access.gettingstarted)
  • Re: basic question: decimal, single, double
    ... Single (single-precision floating-point) is 4 bytes in size and can hold ... There's also Currency (scaled integer) with is 8 bytes in size, ... Doug Steele, Microsoft Access MVP ... double data type: 3.12345678901235 ...
    (microsoft.public.access.gettingstarted)