PC Review Forums Newsgroups Windows XP Windows XP Embedded how to make application run for windows xp embedded in a headless

Reply

how to make application run for windows xp embedded in a headless

 
Thread Tools Rate Thread
Old 11-02-2007, 01:17 PM   #1
=?Utf-8?B?d2luc3Rvbg==?=
Guest
 
Posts: n/a
Default how to make application run for windows xp embedded in a headless


hi,

I am a newbie in wxp embedded, i just created a comfiguration and
created a component for my application, and i added this component to the
configuration.
Using target designer, i was able to create a xpe image, it's actually
working. there is no error in the image building process.

but when i reboot my device with this image, the windows xp embeded come up
just fine, but my application was not running.

what can i do about it? did i forget somewhere to set up? hope you can show
me some hints, it's very appreciated!

another problem, i using the design template " windows platform...." in my
image, so the windows embedded has a windows face in the beginning. but
actually, what i want is a headless application device, i.e. when i power it
on, it should just begin my application, the user would not feel it's a
windows platform, what should I do about it?

my application is using USB 2.0 to grab some high speed incoming data, then
draw some graphics. should i using the 'kioks and games' design template
instead?

thank your very much!
your kindly help is greatly appreciated!

yours, winston.
  Reply With Quote
Old 11-02-2007, 09:50 PM   #2
KM
Guest
 
Posts: n/a
Default Re: how to make application run for windows xp embedded in a headless

winston,

Obviously, it is going to be hard to make a right guess what you have
forgotten to be able to launch the app on your image without knowing
anything about the both (the image and the app).

Just a few common tips on how you may quickly want to debug the issue:

- At run time try to install the app manually (if the app came as MSI
you'd need WIndows Installer Service component presented in your image
config). This may prove you are missing sometbing as an app dependency, or
you just did a mistake while componentizing the app.

- Use DependencyWalker tool (and especially its Profiling feature) to
explore the app luanch at run time. It may give you a hint about what Dlls
are missing from your image right away.

- Use monitoring tools such as Regmon, FileMon (sysinternals.com),
Inctrl5, RegSnap, etc. to see what might be missing in the image as
dependencies and/or registry entries.


Regards,
KM

> hi,
>
> I am a newbie in wxp embedded, i just created a comfiguration and
> created a component for my application, and i added this component to the
> configuration.
> Using target designer, i was able to create a xpe image, it's actually
> working. there is no error in the image building process.
>
> but when i reboot my device with this image, the windows xp embeded come
> up
> just fine, but my application was not running.
>
> what can i do about it? did i forget somewhere to set up? hope you can
> show
> me some hints, it's very appreciated!
>
> another problem, i using the design template " windows platform...." in my
> image, so the windows embedded has a windows face in the beginning. but
> actually, what i want is a headless application device, i.e. when i power
> it
> on, it should just begin my application, the user would not feel it's a
> windows platform, what should I do about it?
>
> my application is using USB 2.0 to grab some high speed incoming data,
> then
> draw some graphics. should i using the 'kioks and games' design template
> instead?
>
> thank your very much!
> your kindly help is greatly appreciated!
>
> yours, winston.



  Reply With Quote
Old 11-02-2007, 10:19 PM   #3
KM
Guest
 
Posts: n/a
Default Re: how to make application run for windows xp embedded in a headless

Oops. Missed the second question.

What you are looking for is probably running your app as a custom shell:
http://msdn2.microsoft.com/en-us/library/ms913692.aspx. If custom shell
doesn't work for you, you ca always set up the app to launch automatically
with Run/RunOnce request:
http://msdn2.microsoft.com/en-us/library/ms913512.aspx.

Also, if you target hardware is truly headless you may want to include
Headless support components in to your config (such as Headless VGA driver,
etc.): http://msdn2.microsoft.com/en-us/library/ms932872.aspx.

Regards,
KM

> winston,
>
> Obviously, it is going to be hard to make a right guess what you have
> forgotten to be able to launch the app on your image without knowing
> anything about the both (the image and the app).
>
> Just a few common tips on how you may quickly want to debug the issue:
>
> - At run time try to install the app manually (if the app came as MSI
> you'd need WIndows Installer Service component presented in your image
> config). This may prove you are missing sometbing as an app dependency, or
> you just did a mistake while componentizing the app.
>
> - Use DependencyWalker tool (and especially its Profiling feature) to
> explore the app luanch at run time. It may give you a hint about what Dlls
> are missing from your image right away.
>
> - Use monitoring tools such as Regmon, FileMon (sysinternals.com),
> Inctrl5, RegSnap, etc. to see what might be missing in the image as
> dependencies and/or registry entries.
>
>
> Regards,
> KM
>
>> hi,
>>
>> I am a newbie in wxp embedded, i just created a comfiguration and
>> created a component for my application, and i added this component to the
>> configuration.
>> Using target designer, i was able to create a xpe image, it's actually
>> working. there is no error in the image building process.
>>
>> but when i reboot my device with this image, the windows xp embeded come
>> up
>> just fine, but my application was not running.
>>
>> what can i do about it? did i forget somewhere to set up? hope you can
>> show
>> me some hints, it's very appreciated!
>>
>> another problem, i using the design template " windows platform...." in
>> my
>> image, so the windows embedded has a windows face in the beginning. but
>> actually, what i want is a headless application device, i.e. when i power
>> it
>> on, it should just begin my application, the user would not feel it's a
>> windows platform, what should I do about it?
>>
>> my application is using USB 2.0 to grab some high speed incoming data,
>> then
>> draw some graphics. should i using the 'kioks and games' design template
>> instead?
>>
>> thank your very much!
>> your kindly help is greatly appreciated!
>>
>> yours, winston.

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off