For Programmers: Free Programming Magazines  


Home > Archive > Visual Studio > April 2004 > How to access HW status such as "drive ready" from within C++ console appli









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to access HW status such as "drive ready" from within C++ console appli
David F

2004-04-30, 5:12 am

I am developing using Visual Studio .NET 2003 / C++.

Are there direct system calls or at least direct execution of
VBScripts(/JScript) etc., to find out statuses such as "drive ready", "Is
media writeable", etc.?

The same subject question for Windows 2000 applications.

By direct I mean as oppose to external execution because I can always of
course call to execute a script through the system(command_line), directing
its result to a file, then read the file and scan it for the proper answer
but this is of course ugly, awkward and I assume/hope unnecessary.

If possible, where do I get to read the specifications for it?

Thanks


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com