PocketMatrix forums

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

GX.DLL - Included on what systems?

I assumed that gx.dll was standard on PocketPC 2002 and above. Apparently, that is not correct. We have had several customers that do not have gx.dll on their system. We sent them gx.dll and now everything works just fine. so...
1) What OS's have gx.dll standard?
2) Can I included gx.dll as part of our install?
3) Should I include gx.dll as part of our install?
4) If the above two or yes... what is the latest version?

Cheers,

rcp
well, most of the games installer do that. they include the gx.dll

older version would suffice.

regards.

CONAN: My Ipaq h1910 doesn't have GX.DLL It's PPC2002.
Hello RCP. Have a search in this forum as it's discussed several times. You will see methods mentioned which only install if it's not there.

PPC 2002 devices all seem to have gx.dll but older devices don't (eg: My iPaq h3650 with PPC2000 does not)
Denthorq:
That is the model we have had some trouble with... so looks like it didn't get gx.dll on it. Maybe that is an HP thing???

As usual, I didn't think of searching first... my post was pretty much a knee jerk reaction to a couple of support emails. :)

Thanks for the help... looks like I've got a bit of reading to do!

Cheers,

rcp
rcp: No PPC2000 device has gx.dll built in, only 2002 and up do. Upgraded 3600s did too. Every device with 2002 should have gx.dll installed by default.
Keep in mind that a user can simply delete gx.dll at anytime. You need to check during install if the file exists. Also remember that not all gx.dll files are created equally. Using a ppc2000 gx.dll on a wm2003 device may or may not give strange results in your application.
rcp wrote:Denthorq:
That is the model we have had some trouble with... so looks like it didn't get gx.dll on it. Maybe that is an HP thing???
rcp


Yeah, h1910 doesn't have a gx.dll ;-) I have to copy it manually after a hard reset.
AFAIK, it's up to the OEM if gx.dll is included. If like on my 1910, ROM space is tight, they'll be less likely to include it.

However, gx.dll is freely distributable so you can just drop it in to the program folder during the install.
There are different versions of gx.dll so how does one tell which to use? Is there a list somewhere (in fact I will go & look)
Basically, if its not on the device (ie supplied by the OEM), then install the original one provided by Microsoft (probably designed for the iPAQ 3600 line).

In several cases, using the original Microsoft gx.dll will result in poor performance. I believe these cases all fall under WM2003.
Just always install gx.dll in your game directory. That is the first directory Windows will search for resolving DLLs, so that makes sure your specific DLL is always used, regardless of what is in the windows directory.

Dan East
Dan, you do NOT want to do that. It is a really bad idea. Some devices do come with a OEM specific version of GX.DLL.

The one provided by Microsoft a while ago will either run slowly or not at all on these devices.

The right thing to do is to look for GX.DLL in the windows directory. If it's not there, then install the Microsoft one *in your application directory*. This way other apps won't remove/replace GX.DLL under you.
Ahh. You wouldn't have to do it via installer. Have the installer copy gx.dll.hide in your game directory, and have your app try to dynamically load gx.dll via LoadLibrary. If that fails then rename gx.dll.hide to gx.dll and try LoadLibrary again.

The less I rely on an installer to do anything the happier I am, especially on Pocket PC.

Dan East
A good solution is to use PocketHAL. You don't need GX.DLL anymore =)