Article View: borland.public.cppbuilder.nativeapi
Article #17115Re: Installing *.inf files
From: Remy Lebeau (TeamB)
Date: Wed, 09 Apr 2003 17:01
Date: Wed, 09 Apr 2003 17:01
14 lines
1264 bytes
1264 bytes
"Christian" <scholle3783@icqmail.com> wrote in message
news:3e942c24$1@newsgroups.borland.com...
> my app needs to install a driver from an *.inf file. How can this be done?
You can use ShellExecute() for that, ie:
#include <shellapi>
::ShellExecute(NULL, "install", "c:\\yourfile.inf", 0, 0,
SW_SHOWNORMAL);
Gambit
Technical Details
Message-ID:
<3e9451c2$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e942c24$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e26d99be933ea677 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-09 10:16:02 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e942c24$1@newsgroups.borland.com> Subject: Re: Installing *.inf files Date: Wed, 9 Apr 2003 10:01:11 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3e9451c2$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1049907650 207.175.226.26 (9 Apr 2003 10:00:50 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail