I'll try to address all your recent questions in a single answer.

> What is the goal to switch between (enable or disable) the beam
> reception at preferences?

If you disable the beaming from the preferences, the device becomes incapable 
of receiving data beamed to it, until you re-enable beaming. Note that messing 
with this setting along does not result in any data being beamed or received - 
if this is what you want, you have to do something else.

> I want to use the ExgControl to enable the beam reception.

I don't think that it can be used for such purposes. ExgControl is for getting 
information about what an exchange library is capable of preforming, how it is 
named, which version it is and so on. Somebody might have written an exchange 
library that contains functions for enabling and disabling the beaming through 
ExgControl - but the standard one can't do that.

> I want to enable the beam reception at Preferences, I already
> tried the next at AppStart function:
> PrefSetPreference(prefBeamReceive,true);

That is indeed the proper way to enable the beaming. In what sense didn't it 
work? Have you tried to disable beaming from Preferences, then run your 
application, then go to the Preferences again and check whether beaming hasn't 
been re-enabled by your application?

Again, if what you want to do is to actually transfer (send or receive) some 
data via infrared, then you have to do something completely different; not just 
enable beaming.

Regards,
Vesselin
-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to