Windows XP Emdedded in XP Compatibility mode.

G

Guest

Hi!

How do I run the XP Embedded in a compatibility mode so that I can run my
Windows XP application on it? Are there are components that I need to
install on it before I run my application? If so where from I can download
them?

Thanks for your help.

Regards,
Mallik.
 
S

Sean Liming \(eMVP\)

You need to use tools like DependencyWalker or ComponentHunter to track down
the resource to run an application. Then use the resources to track down the
XPe components needed to build into the image and run the app.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
G

Guest

Thanks for the reply. Does it mean, that I need to recompile my code on XP
Embedded box again?
 
S

Sean Liming \(eMVP\)

I am not quite sure what you mean. If the code works and runs on XP, it
should run on XPe, but you need to have all the right components in the
image for the app to run successfuly. DependencyWalker (Free download) can
help find the DLLs needed.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 
G

Guest

Thanks for the reply. It cleared up my questions. I used Dependency Walker
and loaded my application on it. Here is what I got. Does it mean that my
application will run on XPe without any issues? I mean, does it mean it
doesn't need any components for it to run and just the minimum XPe OS is
sufficient? I appreciate your time on this.

Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.

--------------------------------------------------------------------------------
Starting profile on 4/24/2006 at 3:46:30 PM

Operating System: Microsoft Windows XP Professional (32-bit), version
5.01.2600 Service Pack 2
Program Executable: c:\program files\marimba\tuner\TUNER.EXE
Program Arguments:
Starting Directory: C:\Program Files\Marimba\Tuner\
Search Path: C:\Program Files\Marimba\Tuner\;C:\Program
Files\Marimba\Tuner\lib;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI Control Panel;C:\Program Files\Common
Files\Adaptec Shared\System;C:\Program Files\Vantive32;C:\Program
Files\Perforce;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program
Files\JProbe Suite 5.2.3\bin;C:\Program Files\Common
Files\Adobe\AGL;C:\j2sdk1.4.2_11\bin

Options Selected:
Simulate ShellExecute by inserting any App Paths directories into the
PATH environment variable.
Log DllMain calls for process attach and process detach messages.
Hook the process to gather more detailed dependency information.
Log LoadLibrary function calls.
Log GetProcAddress function calls.
Log debug output messages.
Automatically open and profile child processes.
--------------------------------------------------------------------------------

Started "TUNER.EXE" (process 0x9B8) 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 "USER32.DLL" at address 0x77D40000. Successfully hooked module.
Loaded "GDI32.DLL" at address 0x77F10000. Successfully hooked module.
Loaded "MSVCRT.DLL" at address 0x77C10000. Successfully hooked module.
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(0x77C10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "MSVCRT.DLL" called.
GetProcAddress(0x7C800000 [KERNEL32.DLL],
"InitializeCriticalSectionAndSpinCount") called from "MSVCRT.DLL" at address
0x77C379C2 and returned 0x7C80B6B1.
DllMain(0x77C10000, DLL_PROCESS_ATTACH, 0x0012FD30) in "MSVCRT.DLL" returned
1 (0x1).
Loaded "ENTAPI.DLL" at address 0x37000000. Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x77E70000. Successfully hooked module.
Loaded "PSAPI.DLL" at address 0x76BF0000. Successfully hooked module.
Loaded "NETAPI32.DLL" at address 0x5B860000. Successfully hooked module.
DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x00000000) in "RPCRT4.DLL" called.
DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x00000000) in "RPCRT4.DLL" returned
1 (0x1).
DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x00000000) in "ADVAPI32.DLL" called.
DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x00000000) in "ADVAPI32.DLL"
returned 1 (0x1).
DllMain(0x76BF0000, DLL_PROCESS_ATTACH, 0x00000000) in "PSAPI.DLL" called.
DllMain(0x76BF0000, DLL_PROCESS_ATTACH, 0x00000000) in "PSAPI.DLL" returned
131073 (0x20001).
DllMain(0x5B860000, DLL_PROCESS_ATTACH, 0x00000000) in "NETAPI32.DLL" called.
DllMain(0x5B860000, DLL_PROCESS_ATTACH, 0x00000000) in "NETAPI32.DLL"
returned 1 (0x1).
DllMain(0x37000000, DLL_PROCESS_ATTACH, 0x00000000) in "ENTAPI.DLL" called.
GetProcAddress(0x7C800000 [KERNEL32.DLL], "GetLongPathNameW") called from
"ENTAPI.DLL" at address 0x370031AB and returned 0x7C8130C3.
DllMain(0x37000000, DLL_PROCESS_ATTACH, 0x00000000) in "ENTAPI.DLL" returned
0 (0x0).
DllMain(0x37000000, DLL_PROCESS_DETACH, 0x00000000) in "ENTAPI.DLL" called.
DllMain(0x37000000, DLL_PROCESS_DETACH, 0x00000000) in "ENTAPI.DLL" returned
0 (0x0).
DllMain(0x5B860000, DLL_PROCESS_DETACH, 0x00000000) in "NETAPI32.DLL" called.
DllMain(0x5B860000, DLL_PROCESS_DETACH, 0x00000000) in "NETAPI32.DLL"
returned 1 (0x1).
DllMain(0x76BF0000, DLL_PROCESS_DETACH, 0x00000000) in "PSAPI.DLL" called.
DllMain(0x76BF0000, DLL_PROCESS_DETACH, 0x00000000) in "PSAPI.DLL" returned
131073 (0x20001).
DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000000) in "ADVAPI32.DLL" called.
DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000000) in "ADVAPI32.DLL"
returned 1 (0x1).
DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000000) in "RPCRT4.DLL" called.
DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000000) in "RPCRT4.DLL" returned
1 (0x1).
Unloaded "ENTAPI.DLL" at address 0x37000000.
Unloaded "NETAPI32.DLL" at address 0x5B860000.
Unloaded "PSAPI.DLL" at address 0x76BF0000.
Unloaded "ADVAPI32.DLL" at address 0x77DD0000.
Unloaded "RPCRT4.DLL" at address 0x77E70000.
LoadLibraryA("c:\program files\marimba\tuner\TUNER.EXE\..\lib\mrbmod.dll")
called from "TUNER.EXE" at address 0x004012B2.
Loaded "MRBMOD.DLL" at address 0x10000000. Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x77DD0000. Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x77E70000. Successfully hooked module.
Loaded "WSOCK32.DLL" at address 0x71AD0000. Successfully hooked module.
Loaded "WS2_32.DLL" at address 0x71AB0000. Successfully hooked module.
Loaded "WS2HELP.DLL" at address 0x71AA0000. Successfully hooked module.
DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x00000000) in "RPCRT4.DLL" called.
DllMain(0x77E70000, DLL_PROCESS_ATTACH, 0x00000000) in "RPCRT4.DLL" returned
1 (0x1).
DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x00000000) in "ADVAPI32.DLL" called.
DllMain(0x77DD0000, DLL_PROCESS_ATTACH, 0x00000000) in "ADVAPI32.DLL"
returned 1 (0x1).
DllMain(0x71AA0000, DLL_PROCESS_ATTACH, 0x00000000) in "WS2HELP.DLL" called.
DllMain(0x71AA0000, DLL_PROCESS_ATTACH, 0x00000000) in "WS2HELP.DLL"
returned 1 (0x1).
DllMain(0x71AB0000, DLL_PROCESS_ATTACH, 0x00000000) in "WS2_32.DLL" called.
DllMain(0x71AB0000, DLL_PROCESS_ATTACH, 0x00000000) in "WS2_32.DLL" returned
1 (0x1).
DllMain(0x71AD0000, DLL_PROCESS_ATTACH, 0x00000000) in "WSOCK32.DLL" called.
DllMain(0x71AD0000, DLL_PROCESS_ATTACH, 0x00000000) in "WSOCK32.DLL"
returned 1 (0x1).
DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x00000000) in "MRBMOD.DLL" called.
DllMain(0x10000000, DLL_PROCESS_ATTACH, 0x00000000) in "MRBMOD.DLL" returned
1 (0x1).
LoadLibraryA("c:\program files\marimba\tuner\TUNER.EXE\..\lib\mrbmod.dll")
returned 0x10000000.
GetProcAddress(0x10000000 [MRBMOD.DLL], "mrbMain") called from "TUNER.EXE"
at address 0x004012C8 and returned 0x100052FA.
LoadLibraryW("rpcrt4.dll") called from "RPCRT4.DLL" at address 0x77E9FAF5.
LoadLibraryW("rpcrt4.dll") returned 0x77E70000.
DllMain(0x10000000, DLL_PROCESS_DETACH, 0x00000000) in "MRBMOD.DLL" called.
DllMain(0x10000000, DLL_PROCESS_DETACH, 0x00000000) in "MRBMOD.DLL" returned
1 (0x1).
DllMain(0x71AD0000, DLL_PROCESS_DETACH, 0x00000000) in "WSOCK32.DLL" called.
DllMain(0x71AD0000, DLL_PROCESS_DETACH, 0x00000000) in "WSOCK32.DLL"
returned 1 (0x1).
Unloaded "MRBMOD.DLL" at address 0x10000000.
Unloaded "WSOCK32.DLL" at address 0x71AD0000.
DllMain(0x71AB0000, DLL_PROCESS_DETACH, 0x00000001) in "WS2_32.DLL" called.
DllMain(0x71AB0000, DLL_PROCESS_DETACH, 0x00000001) in "WS2_32.DLL" returned
1 (0x1).
DllMain(0x71AA0000, DLL_PROCESS_DETACH, 0x00000001) in "WS2HELP.DLL" called.
DllMain(0x71AA0000, DLL_PROCESS_DETACH, 0x00000001) in "WS2HELP.DLL"
returned 1 (0x1).
DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000001) in "ADVAPI32.DLL" called.
DllMain(0x77DD0000, DLL_PROCESS_DETACH, 0x00000001) in "ADVAPI32.DLL"
returned 1 (0x1).
DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000001) in "RPCRT4.DLL" called.
DllMain(0x77E70000, DLL_PROCESS_DETACH, 0x00000001) in "RPCRT4.DLL" returned
1 (0x1).
DllMain(0x77C10000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCRT.DLL" called.
DllMain(0x77C10000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCRT.DLL" returned
1 (0x1).
DllMain(0x77D40000, DLL_PROCESS_DETACH, 0x00000001) in "USER32.DLL" called.
DllMain(0x77D40000, DLL_PROCESS_DETACH, 0x00000001) in "USER32.DLL" returned
1 (0x1).
DllMain(0x77F10000, DLL_PROCESS_DETACH, 0x00000001) in "GDI32.DLL" called.
DllMain(0x77F10000, DLL_PROCESS_DETACH, 0x00000001) in "GDI32.DLL" returned
1 (0x1).
DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "DEPENDS.DLL"
returned 1 (0x1).
DllMain(0x7C800000, DLL_PROCESS_DETACH, 0x00000001) in "KERNEL32.DLL" called.
DllMain(0x7C800000, DLL_PROCESS_DETACH, 0x00000001) in "KERNEL32.DLL"
returned 1 (0x1).
DllMain(0x7C900000, DLL_PROCESS_DETACH, 0x00000001) in "NTDLL.DLL" called.
DllMain(0x7C900000, DLL_PROCESS_DETACH, 0x00000001) in "NTDLL.DLL" returned
1 (0x1).
Exited "TUNER.EXE" (process 0x9B8) with code 0 (0x0).
Entrypoint reached. All implicit modules have been loaded.

Thanks,
Mallik.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top