Article View: borland.public.csharpbuilder.language.csharp
Article #107Re: Application Handle
From: Marc Rohloff TeamB
Date: Fri, 08 Dec 2006 00:19
Date: Fri, 08 Dec 2006 00:19
12 lines
1574 bytes
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
Technical Details
Message-ID:
<nesz4y9eken1$.dlg@dlg.marcrohloff.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4577dae7$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1efe35,64cf2780d2256ee X-Google-Attributes: gid1efe35,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Marc Rohloff [TeamB]" <"on request"> Subject: Re: Application Handle Newsgroups: borland.public.csharpbuilder.language.csharp User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit References: <4577dae7$1@newsgroups.borland.com> Date: Thu, 7 Dec 2006 19:19:24 -0500 Message-ID: <nesz4y9eken1$.dlg@dlg.marcrohloff.com> X-Face: "huzh55Xi]!ZNni78>a*5+).`SK?<^q2MlHk-C]Z2M9T@\J5ZCB$95Ey+s"XQuhGFA[eutZ :0^AV!Q;t>gE`1-=8d;HZ6~*o1dH<X9\b$!|(}+I'!Xq)@3Op}%0ArW&nf'Qh*EwR X-Antivirus: avast! (VPS 0654-1, 12/07/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 65.31.1.121 X-Trace: newsgroups.borland.com 1165537114 65.31.1.121 (7 Dec 2006 16:18:34 -0700) Lines: 12 X-Authenticated-User: mrohloff Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail