🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13986

Re: Get Executable name ??!!

#13986
From: Remy Lebeau (TeamB)
Date: Mon, 01 Sep 2003 20:01
16 lines
1419 bytes
"Schandler" <theslider@programmer.net> wrote in message
news:3f533a7d@newsgroups.borland.com...
> if I have the window handle how would I get the exe name
> for the application owning that window ?

Have a look at GetModuleFileName() and GetWindowLong(GWL_HINSTANCE)


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/03
Technical Details
Message-ID: <3f53a597$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f533a7d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2a8d4c631c562500
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-01 13:08:18 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f533a7d@newsgroups.borland.com>
Subject: Re: Get Executable name ??!!
Date: Mon, 1 Sep 2003 13:01:42 -0700
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f53a597$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062446487 207.175.226.26 (1 Sep 2003 13:01:27 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail