T
thorq2
I have an application which executes properly under XP Professional but
during the early startup in XPe I get an Application Error. I have XPe with
SP2 but have not installed Feature Pack 2007.
I started out with analyzing the exe-file with Dependancy Walker (DW) and
added missing dll:s by adding coresponding components to my image in Target
Designer. I have also Profiled the application in XP Pro and XPe with DW and
below you will find the printouts in XPe when the appålication error occurs:
Started "CDMSTARTUP.EXE" (process 0x6EC) at address 0x00400000.
Successfully hooked module.
Loaded "NTDLL.DLL" at address 0x7C900000. Successfully hooked module.
Loaded "KERNEL32.DLL" at address 0x7C800000. Successfully hooked module.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" called.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" returned
1 (0x1).
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" called.
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL"
returned 1 (0x1).
Injected "DEPENDS.DLL" at address 0x08370000.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL"
returned 1 (0x1).
Loaded "CAN.DLL" at address 0x10000000. Successfully hooked module.
Loaded "USER32.DLL" at address 0x77D40000. Successfully hooked module.
Loaded "GDI32.DLL" at address 0x77F10000. Successfully hooked module.
Loaded "WINSPOOL.DRV" at address 0x73000000. Successfully hooked module.
Loaded "MSVCRT.DLL" at address 0x77C10000. Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x77E70000. Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module.
Loaded "COMCTL32.DLL" at address 0x5D090000. Successfully hooked module.
Entrypoint reached. All implicit modules have been loaded.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" called.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" returned
1 (0x1).
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" called.
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" returned
1 (0x1).
DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x0012FD30) in "CAN.DLL" called.
Loaded "EMBDTRST.DLL" at address 0x00890000. Successfully hooked module.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL" called.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL"
returned 1238785 (0x12E701).
Second chance exception 0xC0000005 (Access Violation) occurred in
"NTDLL.DLL" at address 0x7C964ED1.
Exited "CDMSTARTUP.EXE" (process 0x6EC) with code -1073741819 (0xC0000005).
during the early startup in XPe I get an Application Error. I have XPe with
SP2 but have not installed Feature Pack 2007.
I started out with analyzing the exe-file with Dependancy Walker (DW) and
added missing dll:s by adding coresponding components to my image in Target
Designer. I have also Profiled the application in XP Pro and XPe with DW and
below you will find the printouts in XPe when the appålication error occurs:
Started "CDMSTARTUP.EXE" (process 0x6EC) at address 0x00400000.
Successfully hooked module.
Loaded "NTDLL.DLL" at address 0x7C900000. Successfully hooked module.
Loaded "KERNEL32.DLL" at address 0x7C800000. Successfully hooked module.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" called.
DllMain(0x7C900000, DLL_PROCESS_ATTACH, 0x00000000) in "NTDLL.DLL" returned
1 (0x1).
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" called.
DllMain(0x7C800000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL"
returned 1 (0x1).
Injected "DEPENDS.DLL" at address 0x08370000.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL"
returned 1 (0x1).
Loaded "CAN.DLL" at address 0x10000000. Successfully hooked module.
Loaded "USER32.DLL" at address 0x77D40000. Successfully hooked module.
Loaded "GDI32.DLL" at address 0x77F10000. Successfully hooked module.
Loaded "WINSPOOL.DRV" at address 0x73000000. Successfully hooked module.
Loaded "MSVCRT.DLL" at address 0x77C10000. Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x77E70000. Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module.
Loaded "COMCTL32.DLL" at address 0x5D090000. Successfully hooked module.
Entrypoint reached. All implicit modules have been loaded.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" called.
DllMain(0x77F10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "GDI32.DLL" returned
1 (0x1).
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" called.
DllMain(0x77D40000, DLL_PROCESS_ATTACH, 0x0012FD30) in "USER32.DLL" returned
1 (0x1).
DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x0012FD30) in "CAN.DLL" called.
Loaded "EMBDTRST.DLL" at address 0x00890000. Successfully hooked module.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL" called.
DllMain(0x00890000, DLL_PROCESS_ATTACH, 0x00000000) in "EMBDTRST.DLL"
returned 1238785 (0x12E701).
Second chance exception 0xC0000005 (Access Violation) occurred in
"NTDLL.DLL" at address 0x7C964ED1.
Exited "CDMSTARTUP.EXE" (process 0x6EC) with code -1073741819 (0xC0000005).