<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#000000 size=2></FONT><FONT face=Arial color=#000000
size=2>Can anyone shed light on this?</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>I have one program that is prone to
getting an exception dialog when it starts on Vista.</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>The dialog is </FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>Windows - No Disk</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>Exception processing Message
0xc0000013 Parameters 0x764292A0</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2>0x00000004 0x764292A0
0x764292A0</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>I think its a Vista problem because
the program does this whether inside or outside the IDE, and it disappears if
the PC is rebooted, and returns later. Is it trying to access one of the
other drive letters such as a card reader (there is one on this
PC)?</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>There are also references to this on
the web, eg</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2><A
href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1621609&SiteID=17">http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1621609&SiteID=17</A></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>where people are just guessing, which
suggests amongst others problems with USB or removable disk
drivers.</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV>
<DIV><FONT face=Arial color=#000000 size=2>This program is checking free hard
disk space on start up with code like below:</FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>(But I don't think its even getting
this far - it</FONT><FONT face=Arial color=#000000 size=2> is based
on some code I found on the net - and it gives the
error message even if the code is commented out)</FONT></DIV></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#000000 size=2>procedure xcDiskStats(Drive: string;
var aTotalDisk: real; var aDiskUsed: Real; var aDiskFree: real; var
aDiskPercentFree: integer; var aStat: string);<BR>var<BR> ldisk:
string;<BR> ldiskchar: char;<BR> lTotalDiskMB: Real;<BR>
lDiskFreeMB: Real;<BR>begin<BR> try<BR> ldisk :=
uppercase(copy(Drive, 1, 1));<BR> lDiskChar :=
Ldisk[1];<BR> aDiskFree := DiskFree(Ord(ldiskChar) -
64);<BR> aTotalDisk := DiskSize(Ord(ldiskChar) -
64);<BR> aDiskUsed := ATotalDisk - ADiskFree;<BR>
finally<BR> aStat:='';<BR> end;<BR> if aTotalDisk
> 0 then<BR> begin<BR> aDiskPercentFree :=
round((aDiskFree / aTotalDisk) * 100);<BR> end;<BR> lTotalDiskMB :=
aTotalDisk / (1024 * 1024);<BR> lDiskFreeMB := aDiskFree / (1024 *
1024);<BR> aStat := 'Disk Total=' + trim(format('%10.2f', [lTotalDiskMB]))
+ 'MB'<BR> + ' Disk Free=' + trim(format('%10.2f',
[lDiskFreeMB])) + 'MB'<BR> + ' Free=' +
inttostr(aDiskPercentFree) + '%';<BR>end;<BR></FONT></DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV>
<DIV>John</DIV>
<DIV><FONT face=Arial color=#000000 size=2></FONT> </DIV></BODY></HTML>