#1 Burning Software

It is currently Thu Dec 19, 2024 7:46 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Problem with CreateEx()
PostPosted: Mon Dec 17, 2007 3:37 pm 
Offline

Joined: Mon Oct 22, 2007 6:37 pm
Posts: 8
Hello, the following code works most of the time, however it also produces the following error message:



l__EXCEPTION_NUMBER =
StarBurn_CdvdBurnerGrabber_CreateEx(
&l__PVOID__CdvdBurnerGrabber,
( PCHAR )( &l__CHAR__ExceptionText ),
sizeof( l__CHAR__ExceptionText ),
&l__ULONG__SystemError,
&l__CDB_FAILURE_INFORMATION,
( PCALLBACK )( StarBurn_Callback ),
(PVOID)this,//Context value
devicepath.GetBuffer(m_DevicePath.GetLength()),
size//Cache Size
);

// Check for correct reply
if ( l__EXCEPTION_NUMBER != EN_SUCCESS )
{
CString text;
CString text1;
text = ( PCHAR )( &l__CHAR__ExceptionText );
text1.Format("ExceptionText, %s",text);
//theApp.WriteLogEntry(m_Index,text);
theApp.WriteLogEntry(0,text1);
}




ExceptionText, CStarBurn_ScsiTransportSPTI::CStarBurn_ScsiTransportSPTI(): CreateFile( '\\.\usbstor#cdrom&ven_lite-on&prod_dvdrw_shw-160p6s&rev_ps09#00010cc2244b&0#{53f56308-b6bf-11d0-94f2-00a0c91efb8b}', 0xc0000000, 3, 0x00000000, 3, 0, 0x00000000 ) failed, status 5 ( 0x5 )


My question is: where do i find what the various error codes and status codes mean?

Also if anyone knows the meaning of this particular error mesage, i would be most grateful.

One more question,

The message "SCSI CDB delivery failed" keeps on showing up quite a few times, is this something to be concerned about?

Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 17, 2007 5:22 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
It's Win32 error code. See winerror.h shipped with your C/C++ compiler.

//
// MessageId: ERROR_ACCESS_DENIED
//
// MessageText:
//
// Access is denied.
//
#define ERROR_ACCESS_DENIED 5L

It's OK. Some of the SCSI commands can fail in curtain situations (pinging not ready device for example). Unless you've got error code from StarBurn API call just ignore what you see in the log :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group