🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: QueryServiceConfig

#4334
From: Remy Lebeau (TeamB)
Date: Thu, 16 Feb 2006 18:45
17 lines
1389 bytes
"Boba" <Boba@somewhere.world> wrote in message
news:43f491df$1@newsgroups.borland.com...

> sizeof(QUERY_SERVICE_CONFIG) X NumberOfServicesInstalled.

QueryServiceConfig() returns information for a specific service only, not
all installed services.

> Tell me please What those extra bytes are for?

QUERY_SERVICE_CONFIG has 5 string members which need to have memory
allocated for them.  QueryServiceConfig() puts that memory at the end of the
structure so that only 1 memory block is needed for everything.


Gambit
Technical Details
Message-ID: <43f4caa4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43f491df$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2d4f3b72ac01978a
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <43f491df$1@newsgroups.borland.com>
Subject: Re: QueryServiceConfig
Date: Thu, 16 Feb 2006 10:45:46 -0800
Lines: 19
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: 68.69.17.41
Message-ID: <43f4caa4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1140116132 68.69.17.41 (16 Feb 2006 10:55:32 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail