|
Normally, errors are given to the application as EWaveError exceptions directly after calling a method or setting a property. But because playing and recording works asynchron, not all erros can be handled in that case. Errors occuring during playing or recording are given to the application as OnWaveError events. The ErrorCode parameter holds the code of the error (see MMSYS_ERR_ constants) and ErrorText an corresponding text that is displayable to the user. AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write Declarationprocedure (Sender: TObject; ErrorCode: MMResult; ErrorText:
String) of Object; See AlsoThbWaveOut.OnWaveError, EWaveError |