"Van Nguyen" <[EMAIL PROTECTED]> wrote in message
news:34744@palm-dev-forum...
> However, I got an error message "Could not initialize libary" with an
error number = 0x1502
> (exgErrStackInit // Stack could not initialized ).
> This error occured right at the call to ExgPut(&exgSocket).
Looking at the code, I see that there are several possibilities:
- The IR library is running in background mode (for IR HotSync).
- The UI is busy (because a dialog is up).
- The device doesn't have IR support. (This test is skipped if localMode is
true.)
- A wireless radio socket is open.
- The batteries are too low. (A dialog will indicate this.)
Note that the receiving device is irrelevant until you call ExgDisconnect.
That's when the IR transmission occurs.
--
Danny Epstein
OS Engineer, Palm Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/