PocketMatrix forums

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

PC Registry Entries

Dave Johnston · 19 Sep 2003, 09:52 UTC
This has me completely confused.

On the PocketPC, I can save and load from the registry, load up regedit and see them there.

Not so on the PC. I can still load and store to a registry, but when I load up regedit, I can't find my entries anywhere! I know they're there, because my PF program is reading and writing to them and getting the correct settings each time it restarts. I did a search for some of the keys, and couldn't find one.

So, where are they?!
The program that is writing to the registry on the PC, is it running within the PocketPC emulator? If so, the values I believe are not written to your PC's registry, they are written to a state file within the emulator's directory structure.

If you mean you have a PocketFrog program that you compiled for the PC, then I don't have an answer. I'm beting it's the first situation though...
Do a Find on your PC Registry, you'll find the entry on some deep level, the pocket pc registry from the emulator is recorded on the same registry as our PC, but inside some folders ( at least that is what I remember from the ppc2000sdk, I don´t know about the 2002/2003 )
Dave, please post back when you find out... Again, I'm assuming your running within the emulator, but you didn't say that, so it's just an assumption. I was under the impression that registry changes within the emulator's registry were transient and therefore either stored in memory or in some sort of state file. HTK is saying that's not the case, so just for informational purposes I'd like to know for sure.
Dave Johnston · 20 Sep 2003, 08:48 UTC
Oops, yeah should have mentioned that I'm not using the emulator. I'm compiling it for PC use.

I've tried searching for registry keys in my registry, but can't find a thing. One key is 'enableMusicGame', and that's not anywhere although app is reading and writing to it fine - getting the correct value even after it has been closed, my computer restarted, and the app loaded again!
If you´re not running on the emulator then that is really weird, take a look if the entry is being recorded using unicode characters or something like that.

And just for informational purposes, here is the path you can find the registry entries from the ppc2000 emulator:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Platform SDK\Emulation\Palm300\Registry
If you´re not running on the emulator then that is really weird, take a look if the entry is being recorded using unicode characters or something like that.

And just for informational purposes, here is the key you can find the registry entries from the ppc2000 emulator:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Platform SDK\Emulation\Palm300\Registry
sorry for the double post, i´m getting some weird errors when I press the submit button
Dave Johnston · 20 Sep 2003, 20:30 UTC
HTK wrote:
If you´re not running on the emulator then that is really weird, take a look if the entry is being recorded using unicode characters or something like that.


D'oh! That's it - I had assumed Windows would take care of Unicode stuff, but noooo, I've got a load of weird registry entries that don't look anything like the keys I was looking for, but have the right values. Guess I'll have to do it properly :)