J
John
I'm new and I don't know which forum this should go into, so please forgive
me in advance if I have inadvertantly placed this question. I don't know if
it's a Microsoft question or a generic C++ question. I did try searching for
an appropriate forum but I didn't know which one I should post to.
With that preamble out of the way, I'm learning C++ and Visual Studio 2005
at the same time on my own.
When GetDiskFreeSpace() stumbles upon the 'A' drive, a Windows pop-up window
with a "Drive not Ready" message appears. I spent all morning searching
google for anything resembling this type of situation with every possible
combination of keywords that I could think of but I didn't find a solution.
How can I capture these type of operating system errors?
try
{
GetDiskFreeSpace(volumeAux, §orsPerCluster
, &bytesPerSector
, &numberOfFreeClusters
, &totalNumberOfClusters);
}
catch (...) {}
Again, please accept my apologies if this is not the correct forum for this
type of question.
me in advance if I have inadvertantly placed this question. I don't know if
it's a Microsoft question or a generic C++ question. I did try searching for
an appropriate forum but I didn't know which one I should post to.
With that preamble out of the way, I'm learning C++ and Visual Studio 2005
at the same time on my own.
When GetDiskFreeSpace() stumbles upon the 'A' drive, a Windows pop-up window
with a "Drive not Ready" message appears. I spent all morning searching
google for anything resembling this type of situation with every possible
combination of keywords that I could think of but I didn't find a solution.
How can I capture these type of operating system errors?
try
{
GetDiskFreeSpace(volumeAux, §orsPerCluster
, &bytesPerSector
, &numberOfFreeClusters
, &totalNumberOfClusters);
}
catch (...) {}
Again, please accept my apologies if this is not the correct forum for this
type of question.