In transferring your application to XPe there is no porting required, as XPe
is essentially just XP. The best thing you can do is using component
designer to create a component out of you application. You can find some
very good documents how to go about this on msdn.microsoft.com. Don't add
any of the microsoft related dlls in your own component, but instead find
the components that contain the files (using the component browser) and set
the components you found as dependencies in your own component. The next
step is to import your component into the database using the component
database manager. The last step is to include your own component into your
target designer configuration and build the image. The mfc and visual c++
runtime files will then be added automatically.
I am however not sure whether there are components for the debug version of
mfc etc so as the previous poster already suggested; make sure that you do
the above with the release version of your application.
Let me know if the above is not the answer you were looking for or if
anything is unclear.
Regards,
Hans de Vetten