🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.csharpbuilder.language.csharp
2 messages
2 total messages Started by Eric Orilla Thu, 07 Dec 2006 08:12
Application Handle
#106
Author: Eric Orilla
Date: Thu, 07 Dec 2006 08:12
4 lines
953 bytes
I have win32 DLL which has a function that accepts the handle of the application. How do I get the Application Handle in a C# Windows Form application so that I can pass it to the win32 DLL.

thanks....
Re: Application Handle
#107
Author: Marc Rohloff TeamB
Date: Fri, 08 Dec 2006 00:19
12 lines
1574 bytes
On 7 Dec 2006 01:12:07 -0700, Eric Orilla wrote:

> I have win32 DLL which has a function that accepts the handle of the
> application. How do I get the Application Handle in a C# Windows
> Form application so that I can pass it to the win32 DLL.

It doesn't really have a Windows handle like in Delphi. You need to
pass the handle of one of your forms.

-- 
Marc Rohloff [TeamB]
marc rohloff -at- myrealbox -dot- com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads