![]() |
|
|
#1
|
|||
|
|||
|
Hi,
I am writing a WPF program that will use VCD to mount ISO's. While I can get the basic's working I would like to add some slightly more advanced functionality including drive checks and error handling. Thanks |
|
#2
|
|||
|
|||
|
Quote:
type "start vcdmount" from a command prompt for a brief help.
__________________
My responses tend to represent myself only and do not necessarily represent the views of SlySoft, Inc. PLEASE POST ALL TECHNICAL PROBLEMS ON THE FORUMS. Thank you. |
|
#3
|
|||
|
|||
|
Quote:
Thanks for your reply. This is what I am using at the moment. While it does do the things I want it to do I do run into a few problems. For example. The first thing my program does is issue an unmount command regardless of anything being mounted (its easier than trying to work out if something is already mounted). Then it mounts the ISO I am interested in and runs a program on that drive. The trouble is if there is an ISO mounted it unmounts, mounts but shows an error when running the program (Drive not ready, or words to that effect). This only happens if an ISO is already mounted. My program does wait for each of the command to complete before moving on so I assume there is a delay in the drive being ready when I have to do an unmount then mount. I have tried to put a sleep in my program so it waits a while but I still get the same problem. When the error is displayed I get a few buttons. Continue, Retry, Cancel, Abort. If I hit retry it continues as expected. An API with the right functions would let me query the drives state to see if it is ready for me to move on to the next stage. Wurz |
|
#4
|
|||
|
|||
|
Quote:
__________________
My responses tend to represent myself only and do not necessarily represent the views of SlySoft, Inc. PLEASE POST ALL TECHNICAL PROBLEMS ON THE FORUMS. Thank you. |
|
#5
|
|||
|
|||
|
Quote:
I have now got a bit of a work around, its not pretty but it works!
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|