Re: SetWallpaperOptions Problem

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

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


Date: Fri, 01 Oct 2004 23:43:54 +0200

Darrell,

>I'm using the
>wrapper from http://www.geocities.com/dynamic_sysop/IActiveCsharp.htm which I
>believe was originally created by Mattias Sjögren who was kind enough to help
>me on here a while ago.

No that's not my code. It's full of errors. Most importantly, all the
return types should be changed from IntPtr to void.

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: Callback problem
    ... >Public Delegate Sub myCallBack(ByRef Buffer As IntPtr, ... Mattias Sjögren [MVP] mattias @ mvps.org ... Please reply only to the newsgroup. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: WH_JOURNALRECORD lParm marshall / unmarshall
    ... ByVal lParam As EventMsgStructure) As IntPtr ... Should be ByRef ... Mattias Sjögren [MVP] mattias @ mvps.org ... Please reply only to the newsgroup. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: function pointer
    ... If you're not assigning IMG.release, you may as well change its type ... to an IntPtr and see if that helps. ... Mattias Sjögren [MVP] mattias @ mvps.org ... Please reply only to the newsgroup. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: PInvoke. Passing void* instance.
    ... >IntPtr pv ... the GCHandle type for this. ... Mattias Sjögren [MVP] mattias @ mvps.org ... Please reply only to the newsgroup. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: FARPROC equivlent in c#
    ... For the void* you could use IntPtr ... or void* (unsafe code). ... Mattias Sjögren [MVP] mattias @ mvps.org ...
    (microsoft.public.dotnet.general)