🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Read the BIOS

#9556
From: Vladimir Afanasyev
Date: Fri, 02 Jul 2004 10:59
20 lines
1857 bytes
Hi,

Really all this code references to WMI 
(Windows Management Instrumentation).
Mike Margerum (dontusethis@yahoo.com) sent code that 
uses early binding to WMI services. I have similar 
code in codecentral that uses late binding to WMI.
There are some samples and one of them - obtain 
BIOS information.
Let us try WMI (samples)
http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=19443
The code was created for BCB5 - 
and for BCB6 follow changes required:
Note for BCB6 developers: Before building projects set Registers variables in None in page Advanced Compiler (Project options). This way the problem BCB5-BCB6 incompatibility (type Variant) is solved. 

If to say about WMI - it's native for Win2000/XP 
but for another OS (beg fro 98) WMI Core must be 
installed before.
Vladimir.
Technical Details
Message-ID: <40e54008$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40c86e9e@newsgroups.borland.com> <40c876c6@newsgroups.borland.com> <40cac89e@newsgroups.borland.com> <40cadcb0$1@newsgroups.borland.com> <40cb0525@newsgroups.borland.com> <40cdea6a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e3066f787953dff9
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Sender: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Reply-To: "Vladimir Afanasyev" <avv@systema.kiev.ua>
Subject: Re: Read the BIOS
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 212.82.216.226     
X-Forwarded-For: unknown
References: <40c86e9e@newsgroups.borland.com> <40c876c6@newsgroups.borland.com> <40cac89e@newsgroups.borland.com> <40cadcb0$1@newsgroups.borland.com> <40cb0525@newsgroups.borland.com> <40cdea6a@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <40e54008$1@newsgroups.borland.com>
Date: 2 Jul 2004 03:59:20 -0700
X-Trace: newsgroups.borland.com 1088765960 207.105.83.66 (2 Jul 2004 03:59:20 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail