🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

disable network card

#9701
From: Henry
Date: Thu, 17 Jun 2004 20:25
9 lines
1155 bytes
Hi,

I need to disable and enable a network card at certain times on an XP
system.  I figure that to do so requires using the Win API.  Unfortunately,
I am very unfamiliar with it.  So, if someone could show some code, I would
greatly appreciate it if you could be explicit in how to implement it.

Thanks,
Henry
Technical Details
Message-ID: <40d1fde3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,6a66ad479e448f8,start
X-Google-Attributes: gid10cc67,public
From: "Henry" <borland@damarsystems.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: disable network card
Date: Thu, 17 Jun 2004 15:25:25 -0500
Lines: 11
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: 24.14.115.55
Message-ID: <40d1fde3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1087503843 24.14.115.55 (17 Jun 2004 13:24:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!zen.net.uk!dedekind.zen.co.uk!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail