> From: Ty
>
> I'm trying to obtain the user id (not hot sync name) from the system
> [snip]
> However codewarrior 6 seems to barf when I try to use this, or a
>
You didn't say how CW was "barf"ing.
However, I noticed that Bradley used type Handle for resH. Under the 3.5
SDK, you should change that to MemHandle. His code used Int32 and other
types declared in the 3.5 SDK, so I assume that Handle was just a typo.
BTW, doesn't Bradley's GetPUN function return the Palm User Name, a.k.a. the
HotSync User Name? Or, are these actually two different entities that just
appear to be the same?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/