I wrote an application and change the default base address (using /base
option) to 0x20000. To my understanding, if the process is loaded to address
0x1c000000, the execute code will begin from 0x1c020000.

However, in the my celog, the dwCodeBase field of the structure
CEL_EXTRA_PROCESS_INFO still returns 0x10000.

Is it a bug of celog? If not, is there any way that I can get the correct
value?

Platform: Windows Mobile 5.0 for Pocket PC + XScale target + visual studio
2005

Re: Is it a celog bug to get the dwCodeBase? by Sue

Sue
Tue Apr 24 09:51:51 CDT 2007

You can say it's a bug in CeLog -- it assumes applications will start at
0x00100000. It is not actually reading from the EXE, it's just assuming
everything except the kernel starts at 0x00100000. You won't be able to use
CeLog to get the value from the EXE. I'll report this issue.

Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________