Re: Passing Window Handle from Com to VB.NET
Date: Wed, 26 May 2004 09:52:37 +0200
Ron Green schrieb:
> I have a COM DLL that exposes an Interface which takes
> the window handle of a VB.NET picturebox.
> In COM DLL (Inprocess server)
> STDMETHOD(InitializeVideo)( HWND parentWindow );
> In VB.NET Application:
> VB complains: "Value of type 'System.IntPtr cannot be converted to
> remotable handle"
> What is the proper way to pass a Window handle from a COM DLL to a VB.NET
This isn't related to DirectX. You might get more answers on a .NET
newsgroup. Most appropriate seems microsoft.public.dotnet.framework.interop.
- Re: Threading problem with Garbage Collector
... It itself controls calls to a DLL ... "A"), it loads the DLL, which in turn then creates a window (it needs to, ... Disposemethod it uses the label window to synchronize the FreeLibrary ... delegate void DelegateKillDLL(); ...
- Re: Simulating Control-Alt-Delete?
... Winlogon.exe window or not. ... all desktops and all top level windows. ... the WinLogon window didn't show. ... > Write this part of your test suite as a DLL, ...
- Re: VB6 runtime is supported on Windows 7
... The settings window was fairly extensive ... DLL and the settings are organized into a UDT rather ...
- Re: window from win32 dll
... handle of the DLL, according to the documentation. ... instance of the window to share the one-and-only DC that is a class DC? ... For example, you are presuming RegisterClassEx ... .HINSTANCE storing in dllmain HMODULE ...
- Re: Difference between WM_APP and WM_USER
... broadcasting or even 'broadcasting' such a message is outrageously ... DLL that uses WM_APP+7 as a message to a designated window. ... dll to use this message range. ...