The inp and outp functions use a generic device driver for communicating to registers. Unfortunately, that generic device driver is not available for XP Embedded and the XP pro driver must not be working there. You could write your own driver to talk to the LED from Visual C++ that works for XP embedded, but our generic driver and commands won't work.
Best Regards,
Chris Matthews
National Instruments