PocketMatrix forums

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

Pocket PC 2003 Compatibility

Will games built under 2002 that user gapidraw work under 2003 without recompiling? Has anyone had the chance to try this?
No, it does not work in the PPC2K3 emulator. I don't think it will work on a real device either. You will have to wait till GapiDraw 2.02 comes out with a PPC2K3 dll and re-compile with the Pocket PC 2003 SDK. To get the SDK, check my other topic 'Pocket PC 2003'. Be aware you need eVC4SP2, and it will not work with PPC2K2, so you have to keep both. It's very stupid that they did that.
Wow, so is it that no 2000 and 2002 programs are going to work with 2003? That is going to be really bad for MS if that is true. I don't even compile for 2002 right now I still target 2000 and it runs on both.
2K3 is backwards-compatible, but now you will be able to compile to target ARMv4 to get the benefits of it (or so we're told anyway). All previous ARM-based software will run, but with no added benefit that X-Scale is supposed to give.

I grabbed the 2K3 SDK as well as eVC++4, but I've not been able to get it to work. Very time I select 2K3 for the target, eVC locks up solid. Very annoying, I can't even run the emulator, which is what I really wanted to do, just to see what's new in there. Anyone have a similar problems and more importantly a solution?
Sorry, can't help you with you problem. Like most windows products, they make it look better and add more bugs. It doesn't look much different. Then again I guess the most important parts you can't see (like X-Scale). What we really need is a to see if it works on a real device.

Speaking of bugs, I can't get the tools to start, but I can start them with eVC3 and connect to the PPC2K3 emulator. Isn't that stupid?
Stupid me! Don't ask what I was thinking! It does work on the emulator! It still would be best to compile it for PPC2K3 though. Here it is! It's being stupid for me, so if you don't see it, try right clicking and telling it show picture:
Image
... I thought that StrongARM was ARMv4 and XScale was ARMv5?
I could be wrong... I frankly never usually refer to them as ARMv whatever, dunno why I did this time around. I meant to say that 2K3 SDK gives you X-Scale native support (I guess it's technicall eVC++ 4.0 that does that).
My first test results are coming back for 2003 and basically my program barely runs. It is slow and looks bad. Apparently 2003 is NOT going allow old programs to run correctly. Now I have to figure out what to do about it.
Found out what the problem was. I shipped a gx.dll with my program. Works fine with 2002 but on 2003 has all kinds of issues. All versions of 2003 seem to have a gx.dll so that isn't needed any more.

Once the dll was removed the old version of the program works great on 2003 (no bugs reported so far) without a recompile.
Interesting info...

I think we'd all still want to ship gx.dll with our apps for those running plain PocketPC or 2k2, in case it isn't present. I wonder if there's something that can be done from the GD perspective...

SBL, are you doing a dll load on gx.dll? If so, might it be possible to check the OS version and if it's 2k3, DON'T use the one in the currrent directory, otherwise use what's in the current directory? I don't think this is something we as GD developers could do, I think it has to be built in to the gd dll, correct?

I guess the question is if this is worth doing in the first place. The alternative I think is noteing this in your game's docs and web site, but I'd be worried about people getting a bad impression from a demo without realizing this is the problem. With that in mind, the above solution becomes much more appealing.

Is there another option anyone can think of? Can this check be done at install-time and just copy gx.dll over if it's not 2k3?
fzammetti wrote:Is there another option anyone can think of? Can this check be done at install-time and just copy gx.dll over if it's not 2k3?

Getting the windows version would be best. I'm pretty sure that the install programs have some support for this, and if not it could be easily added.

Here is the results for PocketPC 2002 using GetVersionEx():

dwMajorVersion: 3
dwMinorVersion: 0
dwBuildNumber: 11171
dwPlatformId: 3

Knowing the values for PocketPC 2003 would be nice.

--Eric
That function is called on the device, correct? If so, does that imply a post-processor component (I forget the exact name, but the installation mechanism has support for a program being executed when the CAB is installed as I recall). This especially interests me because I use my own custom installer, and I'll have to deal with this for sure if I have to go this route.
There is also the cheesy one install for 2003 and one install for 2002, but I am working on avoiding that.

There is a blackjack example in the SDK (I think it is blackjack) that shows you how to create a post run dll. I took that example and was able to modify it to do some post install work for me.
The PPC2003 fixed version of Argentum runs perfectly and it is compiled in Evc3 using the good old compiler AND a gx.dll in the same directory. So apparently it does work very well. Speed is much faster than before also.
"PPC2003 fixed version"


Hi Malmer. Any hints of what to fix? I don't have access to PPC2003 devices myself so I have no idea of what to look at...
The problems seem to be device based. The e755 running 2003 chokes if a gx.dll is installed, however other 2003 upgraded devices are working fine.

SBL - I am NOT using the vc.NET compiler I am using the old one and other than taking the gx.dll out of the install I didn't have to change anything and it is working fine.

This is Tully BTW one day I will log in. :)

If I find out anything more I will post it here.
Anonymous wrote:
Found out what the problem was. I shipped a gx.dll with my program. Works fine with 2002 but on 2003 has all kinds of issues. All versions of 2003 seem to have a gx.dll so that isn't needed any more.

Once the dll was removed the old version of the program works great on 2003 (no bugs reported so far) without a recompile.


sorry to open a "closed" thread but... when you mean "deleting" the gx.dll file, you mean deleting the local (the dll in the same directory that the exe) dll or the dll in /windows ?? it's that I'm having problems with a customer with windows mobile 2003 being the game VERY slow and, unless I messed it all, I'm not shipping a gx.dll with the 2003 version...

TIA
Kak: It could be that the user installed another product that overwrote the original version of gx.dll already installed on their device.
ppcStudios wrote:
Kak: It could be that the user installed another product that overwrote the original version of gx.dll already installed on their device.


Hi ppcStudios, thanks for the response :)

yes, this seems to be the problem. Just went out to buy an iPAQ 1940 to try to fix the problem and when I came back with the device he said me he had reseted the device and it was already working :) I suppose it was a hard reset.

At least the 1940 is a lot cooler than my old 3630 :)_

Anyway is there any way to detect an "invalid" dll (other than size or date, which might not work on different language devices)

TIA :)
Errr wrong place to post. Sorry....
I took a look at a few different versions of gx.dll with Hex Workshop (a great tool btw) and didn't see anything obvious that would provide version or platform information. I certainly wouldn't want to rely on the file date stamp as that can be altered, and I'm not to comfortable using the file size either. I suppose a checksum would be the best solution if there's no way to determine the release version.