🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: GetIfTable?

#15629
From: Remy Lebeau (TeamB)
Date: Mon, 23 Jun 2003 22:23
17 lines
1497 bytes
"vERUs" <verus@privat.utfors.se> wrote in message
news:3eef2366@newsgroups.borland.com...

>         for (unsigned int i = 0; i < (*IFTable).dwNumEntries; i++)
>         {
>            MibRow = (*IFTable).table[i];

Typically, you should use pointer notation instead of deferencing the
pointer manually:

    for (unsigned int i = 0; i < IFTable->dwNumEntries; i++)
    {
        MibRow = IFTable->table[i];


Gambit
Technical Details
Message-ID: <3ef77cd2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ee62442@newsgroups.borland.com> <3ee62f95$1@newsgroups.borland.com> <3ee89b89@newsgroups.borland.com> <3ee8a91c$1@newsgroups.borland.com> <3ee8e4e3@newsgroups.borland.com> <3eef2366@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,70d2eff840e44f86
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-23 15:27:45 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ee62442@newsgroups.borland.com> <3ee62f95$1@newsgroups.borland.com> <3ee89b89@newsgroups.borland.com> <3ee8a91c$1@newsgroups.borland.com> <3ee8e4e3@newsgroups.borland.com> <3eef2366@newsgroups.borland.com>
Subject: Re: GetIfTable?
Date: Mon, 23 Jun 2003 15:23:07 -0700
Lines: 19
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: <3ef77cd2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1056406738 207.175.226.26 (23 Jun 2003 15:18:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail