That did it!
Since I wasn't concerned about the value of ref, I didn't really pay
attention to the variable and the fact that I never allocated it.
Thank you very much.
- jason
--- David Fedor <[EMAIL PROTECTED]> wrote:
> The problem looks like it is happening because
> you're not allocating memory
> for refP. AlmGetAlarm doesn't do any allocation;
> you need to have a local
> DWord whose address you pass. As it is, you're
> passing an invalid pointer
> and thus overwriting something random in memory...
> which seems to cause a
> crash later on.
>
> -David Fedor
> Palm Developer Support
>
>
>
>
===
Jason Bomers
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com