CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2005
    Posts
    111

    sendASPI32Command returns SS_ASPI_IS_BUSY

    Hi,

    I am using sendASPI32Command for writing data to CD. But for a particular size of data sendASPI32Command returns SS_ASPI_IS_BUSY error. The error occurs when writes the last track data.
    Could u pls tell in which condition this case occurs.Please help..........

  2. #2
    Join Date
    Jun 2002
    Location
    Stockholm, Sweden
    Posts
    1,641

    Re: sendASPI32Command returns SS_ASPI_IS_BUSY

    Hello!

    I'm not a SCSI guru, but the normal way to handle a "busy" response is to retry until it works.

    So, did you try resending the command?

    Code:
    do {
      DWORD retval=sendASPI32Command(...);
    
      if(retval==SS_ASPI_IS_BUSY)
        continue; // retry!
    
      // handle other errors here
    
      break; // if no error, exit the loop
    } while(TRUE);
    Nobody cares how it works as long as it works

  3. #3
    Join Date
    Jan 2005
    Posts
    111

    Unhappy Re: sendASPI32Command returns SS_ASPI_IS_BUSY

    ya, I tried to resend the command.. but the same error occured....

  4. #4
    Join Date
    Jun 2002
    Location
    Stockholm, Sweden
    Posts
    1,641

    Re: sendASPI32Command returns SS_ASPI_IS_BUSY

    So, it keeps returning this error "forever" ?

    What happens to your writing process - does it stop?

    Edit: Perhaps there is something wrong with the CD burner or its driver.
    Check if the same error occurs with different hardware.
    Last edited by zerver; June 20th, 2007 at 04:22 AM.
    Nobody cares how it works as long as it works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured