🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.multimedia
4 messages
4 total messages Started by MR Sun, 19 Nov 2006 05:31
Where could the message 'No MSI-device opened' come from?
#225
Author: MR
Date: Sun, 19 Nov 2006 05:31
16 lines
1116 bytes
Where could the message 

  'No MSI-device opened'

  (the german text is 'Kein MCI-Ger�t ge�ffnet) 

comes from?
 
As it seems it does not occur directly when calling a methode. e.g.
MyMediaPlayer->Play(), but sometimes afterwards, when an event has
been completed and the applicaition is waiting for another user-input.


Thanks,

Michael  
Re: Where could the message 'No MSI-device opened' come from?
#226
Author: Mark Jacobs
Date: Mon, 20 Nov 2006 10:20
16 lines
1424 bytes
MR wrote:
> Where could the message
>
>  'No MSI-device opened'
>
>  (the german text is 'Kein MCI-Ger�t ge�ffnet)
>
> comes from?

It comes from Windows OS. You cannot trap it, and I've tried many times! You 
just have to live with it.
-- 
-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk 
Re: Where could the message 'No MSI-device opened' come from?
#227
Author: MR
Date: Mon, 20 Nov 2006 13:01
23 lines
1356 bytes
"Mark Jacobs" <http://www.jacobsm.com/mjmsg?Borland%20Newsgroup>
schrieb:

>MR wrote:
>> Where could the message
>>
>>  'No MSI-device opened'
>>
>>  (the german text is 'Kein MCI-Ger�t ge�ffnet)
>>
>> comes from?
>
>It comes from Windows OS. You cannot trap it, and I've tried many times! You 
>just have to live with it.

Thanks for your answer.

Perhaps a littel unspecific, I meant, which function-call (or property
change) could lead (finally) to this message?

Thanks,

Michael
Re: Where could the message 'No MSI-device opened' come from?
#230
Author: Mark Jacobs
Date: Mon, 20 Nov 2006 16:16
14 lines
1649 bytes
MR wrote:
> Perhaps a littel unspecific, I meant, which function-call (or property
> change) could lead (finally) to this message?

MediaPlayer1->Open(); would cause this, or if that worked, 
MediaPlayer1->Play();
I would wrap both with a try...catch block, but as I said before, it doesn't 
seem to catch all MCI error messages.
-- 

-
Mark Jacobs
DK Computing
http://www.dkcomputing.co.uk 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads