🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Installing printer drivers from within an application using the .INF file

#6521
From: Remy Lebeau (TeamB)
Date: Thu, 05 May 2005 19:58
14 lines
1343 bytes
"Terry" <unknown@unknown.com> wrote in message
news:427a6de2$2@newsgroups.borland.com...

> I need to install device drivers, such as printer driver
> automatically from my program. Does anyone have
> any suggestions on how to execute the functions inside
> an .INF file?

Use the ShellExecute() function, specifying "install" for the lpOperation
parameter.


Gambit
Technical Details
Message-ID: <427a7c38$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <427a6de2$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6289a58596aed8d8
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: <427a6de2$2@newsgroups.borland.com>
Subject: Re: Installing printer drivers from within an application using the .INF file
Date: Thu, 5 May 2005 12:58:09 -0700
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: <427a7c38$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115323448 68.69.17.41 (5 May 2005 13:04:08 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail