[DUG] GetDiskFreeSpace on a virtual pc

Conor Boyd Conor.Boyd at trimble.co.nz
Thu Sep 14 14:12:16 NZST 2006


I have no idea if this is correct or not, but I'm hypothesizing that
you've set your virtual hard disk to be dynamic rather than fixed, in
which case the virtual hard disk would indeed grow to fill your physical
c:\ drive as required. ;-) 

Creating a new virtual hard disk of fixed size might solve your problem?

HTH,

Conor

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Phil Middlemiss

Hi guys - I am testing some installer software on Micro$oft's Virtual
PC. I have a call to GetDiskFreeSpace which should be returning the
amount of free space on the virtual c:\ drive (which is stored on an
external drive) but instead is retuning the free space on the host PC's
c:\ drive. Any ideas?



More information about the Delphi mailing list