PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

GapiDraw 3.5b crashes with PocketHAL 0.7.6b

I'm using a Dell Axim x50v. I linked the latest version of PocketHAL (I tried older versions too) into the simple demo from the samples directory. When I load up the simple demo, it display for a fraction of second then gets minimized. If I try to load it up again my Pocket PC freezes. Any idea what's happening? Is there something else I'm suppossed to do to get PocketHAL to work with GapiDraw? The same behavior happens when I link PocketHAL into my program and run it.
Perhaps it's a PocketHAL issue with the Dell. Have you tried the PocketHAL sample programs? Do they work on your device?
Yes, I was using PocketHAL before I started using GapiDraw and PocketHAL works perfectly on it's own, on my device. It's only when I try to use PocketHAL with GapiDraw I get this problem. Am I missing a step? The only thing I did was use the lib file in PocketPC-arm-phal and then copy the PocketHAL_ARM.lib into my project directory.
Also, from what I can tell, GapiDraw is only able to render one frame before it minimizes. I also tried using GDDISPLAY_HI_RES_AWARE but the problem still happens. If you have any demos that use PocketHAL that work on your devices I'd be more than happy to try them on mine.
I'll check it out and get back to you...
Hi Johan, have you been able to reproduce this problem?
Hi Chris,

Maybe.. I'll email you.
Hey Johan, I just tested the simple demo using PocketHAL on my brother's h2215 iPaq. The same problem occurs, so when you first launch the program is minimizes, but when I activate the program again on the h2215 instead of crashing the simple demo comes up.

I actually had this same problem when I was using PocketHAL by itself before GapiDraw. On some Pocket PCs after minimizing if I tried to activate my program again it would crash.