PocketMatrix forums

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

GAPI/gx.dll

So, should a pocketFrog app include the gx.dll file?

J.Edwards (ducklets guy) has had a notification pop up saying that gx.dll is missing. Looking through the pocketFrog files, it looks like it's just a warning and it could be commented out.

But should I do that?

I did search for this on the forum and found this from Thierry

If GAPI isn't installed, PocketFrog will fallback on using GDI for the display.

Two problems with that:

1) Video performance will suffer (you can expect a huge decrease in performance).
2) Exclusive "locking" of the hardware buttons is not possible without GAPI.


So, what is the preferred thing to do? Request that the user install something, force it to install, or do nothing?
If you are using PF, I would suggest detecting whether or not GX.DLL is already installed. If it is not, then install it. This is basically the same situation as with any other game (GapiDraw or not).

The mythical PF 0.8.0 doesn't need GX.DLL anymore as it is based on PocketHAL.
Thierry, as far as I understand even PHAL will fall back to using GAPI in case of trouble. If it happens we might need gx.dll to be installed. Did I get it right?
Thierry wrote:The mythical PF 0.8.0 doesn't need GX.DLL anymore as it is based on PocketHAL.


"mythical"

8O

LOL

Pam
Sparkie wrote:Thierry, as far as I understand even PHAL will fall back to using GAPI in case of trouble. If it happens we might need gx.dll to be installed. Did I get it right?


You wont need on install it because all Pocket PCs and Smartphone now come pre-installed with GX.DLL.

Only older PPC2000 devices (and one or two PPC2002) doesn't have it, and PHAL knows how to handle these devices without GX.DLL.
ok, but I think I'll remove that message popup about gx.dll so that people won't think anything's wrong...
fast_rx wrote:ok, but I think I'll remove that message popup about gx.dll so that people won't think anything's wrong...


Fair enough. But be aware that if GX.DLL isn't present, your PF application won't be able to capture all the hardware keys. IE: pressing <contacts> will launch the "contacts application".
Sorry to revive this thread...

But I've got a reviewer with a Samsung i700 Pocket PC Phone edition that has stated that there's issues with running my game - that the buttons don't work after running the game and a hang if he starts the game with the phone service turned on.

Could this be a gx.dll problem? I had bundled the version of gx.dll I had on my device into the distribution and it is placed into the application directory - probably a mistake since I don't know what versions of gx are out there. I've asked him to delete the gx from the application directory and see if that works, but haven't heard back yet.

Also, I had a sale to a guy with the same phone that never reported any problems with version 1.0, so it's got to be something I did recently - like the gx.dll thing.

Any ideas?

BTW, I do have my game compliling for the smartphones now... I just need to finish the re-working of the menu buttons so that you can operate the entire thing via the keys (before was only sytlus clicks).
Never. ever. install GX.DLL except on PPC2000. Doing otherwise is only asking for troubles.
And by 'installing', you mean even copying it to the program folder, right.

I knew not to copy it to the windows folder...

Oh, well, off to rebuild my distribution...