🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Route command programmatically

#14110
From: K Y Iyer
Date: Wed, 27 Aug 2003 12:46
13 lines
1386 bytes
Hi

Is it possible to programmatically add and delete network routes from a BCB5
console app creating with VCL enabled?  The app itself seems to be working
fine.  I am unable to find any Win32 API function to do this.

Alternatively, I would like to know how to start a command shell from my
console application.  I can, then, use the "route add" and "route delete"
commands - but this is less elegant.

Thanks

Iyer
Technical Details
Message-ID: <3f4ca732@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a94858fdff315a48,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-27 05:46:16 PST
Reply-To: "K Y Iyer" <iyer@ndtv.com>
From: "K Y Iyer" <iyer@ndtv.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Route command programmatically
Date: Wed, 27 Aug 2003 18:16:06 +0530
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 202.56.236.218
Message-ID: <3f4ca732@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061988146 202.56.236.218 (27 Aug 2003 05:42:26 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!priapus.visi.com!hermes.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail