[DUG] GetDiskFreeSpace on a virtual pc

Phil Middlemiss phil at tumonz.co.nz
Thu Sep 14 15:10:50 NZST 2006


The problem is the other way around - the virtual drive is indeed 
dynamic, but stored on another drive that has much more space than is 
being reported.
The space being reported is on the host computer's c:\ instead of the 
virtual computer's c:\ (which should have a lot more free).

I'm converting the drive to fixed size to see if that makes any difference.

Phil.


Conor Boyd wrote:
> 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?
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
>   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: phil.vcf
Type: text/x-vcard
Size: 250 bytes
Desc: not available
Url : http://ns3.123.co.nz/pipermail/delphi/attachments/20060914/c6b49bc7/phil-0001.vcf


More information about the Delphi mailing list