PocketMatrix forums

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

Common Executable Format

Have any of you used CEF before? I'm considering it for an installer that runs directly on Pocket PCs. I'm downloading the SDK and toolkit now. My main question is where the JIT compiler resides. Is it already in the ROM of Pocket PC devices? Or does it have to be installed first?

Dan East
Dan, I'm betting your aware of this already, but just in case your not... CEF is not supported on PocketPC 2002 any longer. Dunno if that changes anything for you.
I've used cef before and apparently the interpreter is in the ROM, because I didn't have to install anything to make it run. Program Menu tools ( the free version ) is compiled in cef format as well, and I have never heard of any problems with it.

Is the interpreter just not in the ROM of the 2002 devices, or is there just not a compile option for the SDK?
Take a look at this:

http://www.microsoft.com/mobile/pocketpc/columns/cef.asp

As I read this, it sounds like the SDK contains the JIT compiler and it actually executes at the time your application is installed, compiling your application to native code at that point and downloads the native code version to the device.
According to that doc it does not support HPC 2000. It makes no mention of Pocket PC 2002.

It would make some sense that CEF is not supported on Pocket PC 2002, because that OS only supports the ARM processor. However it would seriously break backwards compatibility. Once I get the SDK installed I'll produce a test EXE so someone can verify whether or not it works on Pocket PC 2002.

I've always stayed away from CEF for my other apps, but it does seem perfectly suited for an installer. :)

Dan East
Here's the link where I actually saw it's no longer supported:

http://www.microsoft.com/mobile/developer/technicalarticles/migrate2002.asp

But, if my understanding of how the whole CEF process works (i.e., JIT-compiled at install-time), I can't see any reason why it wouldn't still work, it just would be superfolous.

Then again, as I was typing that, it seemed illogical that it would work the way I said, so, bottom line: Let *ME* know when you get the *RIGHT* answer! :)
simonjacobs · 09 Jul 2002, 17:05 UTC
It definitely doesnt work, much to my fury when I found out. It would have been so EASY to include it to avoid breaking compatibility, but no :(
:D
:)
:?
:(
:x
:evil:

Dan East