🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Get Executable name ??!!

#13998
From: Schandler
Date: Tue, 02 Sep 2003 08:56
21 lines
1581 bytes
thanks Remy I will try it out
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message
news:3f53a597$1@newsgroups.borland.com...
>
> "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: <3f545ab2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f533a7d@newsgroups.borland.com> <3f53a597$1@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-02 01:56:45 PST
From: "Schandler" <theslider@programmer.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f533a7d@newsgroups.borland.com> <3f53a597$1@newsgroups.borland.com>
Subject: Re: Get Executable name ??!!
Date: Tue, 2 Sep 2003 11:56:40 +0300
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 62.68.241.56
Message-ID: <3f545ab2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062492850 62.68.241.56 (2 Sep 2003 01:54:10 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail