🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Stephane Baillargeon Tue, 01 Aug 2006 01:41
WMI - Win32_PhysicalMedia & Win32_DiskDrive
#3216
Author: Stephane Baillargeon
Date: Tue, 01 Aug 2006 01:41
6 lines
1141 bytes
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. Is there someone that has a working example or
component?

Thanks
Re: WMI - Win32_PhysicalMedia & Win32_DiskDrive
#3218
Author: Vladimir Stefanovic
Date: Tue, 01 Aug 2006 09:02
11 lines
1166 bytes
>I would like to get the physical (not volume) serial number of a
> hard drive.

This has been discussed many times. Please look here:
http://www.winsim.com/diskid32/diskid32.html



-- 
Best Regards,
Vladimir Stefanovic 
Re: WMI - Win32_PhysicalMedia & Win32_DiskDrive
#3219
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads