C++ -> Pure HELP!!!
Posted: Sun Jul 20, 2003 9:02 pm
I'm writing a CDR burning program 
I already make iso images, and now i'm writing the burner part
Here's the problem...
In pure should be:
But the program always crashes when i call *aspiinfo function !
Can anyone help???
I already make iso images, and now i'm writing the burner part
Here's the problem...
Code: Select all
// get disc info
// -- parameters:
// -- 1st parm: handle of the window of the calling program
// -- 2nd parm: host adapter Id (usually 0)
// -- 3rd parm: CD-R writer SCSI Id
// -- 4th parm: CD-R writer SCSI LUN (usually 0)
char* info;
info = pfnFFDiscInfo ( Application -> Handle, 0, 2, 0 );
MessageBox ( 0, info, "Disc Information Block:", MB_SYSTEMMODAL );
Code: Select all
...(snip)
If CallFunctionFast(*aspistart)
Debug "Aspi Layer - OK"
Delay(1000) ; Little delay before crashing
x=CallFunctionFast(*aspiinfo,"", 0,2, 0 )
Debug x
CallFunctionFast(*aspistop)
Debug "Aspi Layer - Closed"
EndIf
CloseLibrary(0)
EndIfCan anyone help???