Well, I recommend you read this article: http://support.microsoft.com/kb/326163 this will help you. First you need to understand how WinCE works, I mean the memory architecture.
The idea is that WinCE has the XIP function - In Place Code, so the code can be downloaded from ROM or Flash (usually NOR). This allows you to save valuable RAM. Of course, this is also a classic way to load code that will run in RAM. There is a compromise here, execution will be faster from RAM, but if you have modules in which performance is not critical, then in the "Place Code" mode this is normal.
The first link is pretty old, but it helps you get the picture. This second link is more relevant: http://msdn.microsoft.com/en-us/library/bb331824.aspx , since it targets WinCE 6.0 (so it applies to WinCe 7.0 as well). Thus, you should see which DLL is your module, and I think that different algorithms can be used for each case.
In any case, this is a difficult task :) Success! Please share with the knowledge that you have gained! I'm curious too.
source share