🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ShellExecute - crash on NT4

#16840
From: Remy Lebeau (TeamB)
Date: Mon, 21 Apr 2003 23:38
16 lines
1816 bytes
"Murray Nelson" <mnpicker@agt.net> wrote in message
news:3EA47744.4010906@agt.net...
> I think you have to be a tad more specific.

Not really.  The whole point of ShellExecute() is that you can give it basic
information about a particular resource, and then internally it resolves the
best way to actually handle it.  In the case of URLs, as long as you include
the "http" portion of the URL as well, then ShellExecute() will be able to
determine where and how to open the web browser with the URL.  With your
code sample, you're forcing the URL to be opened a particular way, which may
not be the best way on all system.  Especially for people who have multiple
browsers installed, or don't have IE installed at all.


Gambit
Technical Details
Message-ID: <3ea4809d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!uunet!sac.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ea04c39$1@newsgroups.borland.com> <3EA47744.4010906@agt.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,5c247afc24d17dcf
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-21 16:40:07 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ea04c39$1@newsgroups.borland.com> <3EA47744.4010906@agt.net>
Subject: Re: ShellExecute - crash on NT4
Date: Mon, 21 Apr 2003 16:38:00 -0700
Lines: 18
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: <3ea4809d$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050968221 207.175.226.26 (21 Apr 2003 16:37:01 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-09!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!uunet!sac.uu.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail