🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WMI - Win32_PhysicalMedia & Win32_DiskDrive

#3219
From: Darko Miletic
Date: Tue, 01 Aug 2006 17:20
14 lines
1377 bytes
Stephane Baillargeon wrote:
> I would like to get the physical (not volume) serial number of a hard drive.
> I know I have to use WMI but I'm new at this and the example I've used from
> microsoft doesn't compile. 

To compile MS WMI samples you will need to get bccSDK.

Go here to download it:

http://bccsdk.sf.net

I just tested it the other day and it was working fine.

Darko
Technical Details
Message-ID: <44cf8d5b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44ceb166$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,523d6a88a9030a18
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Tue, 01 Aug 2006 14:20:26 -0300
From: Darko Miletic <darko@vmn.com.ar>
User-Agent: Thunderbird 1.5.0.5 (Windows/20060719)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: WMI - Win32_PhysicalMedia & Win32_DiskDrive
References: <44ceb166$1@newsgroups.borland.com>
In-Reply-To: <44ceb166$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 0631-1, 01/08/2006), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 200.126.133.133
Message-ID: <44cf8d5b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1154452827 200.126.133.133 (1 Aug 2006 10:20:27 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail