🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: From Process to Window Handle

#4089
From: Remy Lebeau (TeamB)
Date: Tue, 14 Mar 2006 07:03
14 lines
1373 bytes
"KL Chin" <klchin@1asia.com.my> wrote in message
news:44165869@newsgroups.borland.com...

> I had no problem to do it with CreateProcess.
> But I do have problem with ShellExecEx, bcoz
> I need to open any kind document file (doc,txt,bmp)
> instead of exe file.

Use FindExecutable() to determine the .exe file for a document.  You can
then pass that filename to CreateProcess().


Gambit
Technical Details
Message-ID: <44166a83$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4414f5b4$1@newsgroups.borland.com> <4415eab2@newsgroups.borland.com> <44165869@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e1b5a692dc7fc69d
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4414f5b4$1@newsgroups.borland.com> <4415eab2@newsgroups.borland.com> <44165869@newsgroups.borland.com>
Subject: Re: From Process  to Window Handle
Date: Mon, 13 Mar 2006 23:03:47 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <44166a83$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1142319747 68.69.17.41 (13 Mar 2006 23:02:27 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail