🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Start and stop application

#8052
From: Remy Lebeau (TeamB)
Date: Fri, 26 Nov 2004 22:35
18 lines
1363 bytes
"Alexander Aliev" <ali@isa.ru> wrote in message
news:41a713ab@newsgroups.borland.com...

> I need to start viewing a file by Acrobat Reader from
> inside my program and close it when exiting my program.

How about using Acrobat's ActiveX control instead to embed the document
directly into your application?  Then you don't need to start anything.

> If I use CreateProcess() then I must have command
> line with full path to Acrobat's .exe . But I don't know
> this

Use FindExecutable().


Gambit
Technical Details
Message-ID: <41a7af15$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41a713ab@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,44eef0c11b4047c0
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: <41a713ab@newsgroups.borland.com>
Subject: Re: Start and stop application
Date: Fri, 26 Nov 2004 14:35:05 -0800
Lines: 20
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: <41a7af15$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1101508373 68.69.17.41 (26 Nov 2004 14:32:53 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail