Wed, 18 Jun 1902 08:00:00 GMT
MCI programming: LOTS of general protection faults...
Hello to everyone. I'm making a CD player using TPW1.5. I use MCI message-based interface to send commands. But I have a problem: I always receive "general protection fault" errors when I run those commands. The program is correct, because the compilation does not return any errors. Even if it were incorrect, I should receive MCI error codes returned by mciSendCommand function, but I do not receive such errors, but "general protection faults", so run-time errors!!!! Does anyone can help me? Looking at the examples of other people, I implemented a "variable cleaning" at the beginning of each function, like that: var Info : TMCI_Open_Parms; begin FillChar (Info, SizeOf (TMCI_Open_Parms), #0); [...] end; but the problem persists. Please help me, if you can! If you put my e-mail address in the Cc: field of the reply (mauro...@tin.it), I'll be grateful. Thank you! -- Mauro Molinari Internet e-mail: mauro...@mbox.vol.it / mauro...@tin.it
|