Another Beep Api Question (Symbol MC9050 can do)

B

Benjamin Lukner

Hi!

The Beep API is obviously not supported on mobile devices.
Symbol delivers e.g. the MC9050 with CE.Net 4.2 and without sound chip.
The MessageBeep API works and produces different beep tones.
The PlayWave API produces a default MessageBeep (because of the missing
sound chip).

Symbol delivers some dlls where I can set the frequency and duration of the
beep for good and failed decodes.
This is equal to the beep api.

Does anyone know if this is a special symbol api call?
Or is it possible to access some beep alike api on mobile devices?

Kind regards,

Benjamin Lukner
 
P

Paul G. Tobey [eMVP]

MessageBeep( -1 ) will work most places to play the default sound.

Paul T.
 
B

Benjamin Lukner

Paul said:
MessageBeep( -1 ) will work most places to play the default sound.

Yes, I know...

But there is no sound chip on the device AND nevertheless it IS possible
to play sounds with defined frequency and length.

I've read the other postings from the past and searched by myself. There
seems to be no way to do it but Symbol can do. So there must be some
call that has to be found.

I don't want to stop searching with the knowledge that there is an
unknown way ;-)


Kind regards,

Benjamin Lukner
 
P

Paul G. Tobey [eMVP]

Well, any OEM can implement MessageBeep() to do something (that's what
Symbol did). You have to get it into a DLL that would normally be loaded by
a user call to MessageBeep() and then implement it in some fashion. Our
non-audio-chip-equipped devices implement MessageBeep() in this way. They
replace the built-in MessageBeep() in the kernel with one that toggles the
speaker in the same way that your desktop PC does it.

You can't add this functionality after the fact, however, unless you can
convince everyone to link with a different import library and provide a
different DLL to implement MessageBeep(). Of course, for your application,
you can do whatever you want, so, if there's a speaker and a way to drive
it, your application can do it...

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top