PC Review Forums Newsgroups Windows XP Windows XP Embedded Weird problem with DUA

Reply

Weird problem with DUA

 
Thread Tools Rate Thread
Old 24-02-2005, 05:41 PM   #1
Heidi Linda
Guest
 
Posts: n/a
Default Weird problem with DUA


I've googled a bit and found nothing on this.
I'm looking at DUA for the first time today and it's not launching my apps
properly. Working through the exercises in Sean Liming's book, I tried the
script for starting the calculator. It does start it, but not properly. All
I get is a calculator icon and part of the title bar (blank, no buttons to
minimise, close etc). It shows in the task bar. If another app is launched
and goes over the top of it, an image of part of that window will 'stick'
where the calculator app is. I can launch the calculator fine manually. Much
the same happens with the 'reggie' app from the book. Any suggestions?


  Reply With Quote
Old 24-02-2005, 08:03 PM   #2
dsouzan@gmail.com
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

Heidi,

Could you post the script or send it directly to my email ?
What polling mechanism are you using to run DUA scripts ?

~n


Heidi Linda wrote:
> I've googled a bit and found nothing on this.
> I'm looking at DUA for the first time today and it's not launching my

apps
> properly. Working through the exercises in Sean Liming's book, I

tried the
> script for starting the calculator. It does start it, but not

properly. All
> I get is a calculator icon and part of the title bar (blank, no

buttons to
> minimise, close etc). It shows in the task bar. If another app is

launched
> and goes over the top of it, an image of part of that window will

'stick'
> where the calculator app is. I can launch the calculator fine

manually. Much
> the same happens with the 'reggie' app from the book. Any

suggestions?

  Reply With Quote
Old 25-02-2005, 01:27 AM   #3
KM
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

Heidi,

You may want to enable DUA Service Logging and check out Event log for more info on why it is failing.

Also, verify what Creation flags (http://msdn.microsoft.com/library/e...eationFlags.asp) and StartupInfo
(http://msdn.microsoft.com/library/e...StartupInfo.asp) you set for the Execute command.

--
Regards,
KM, BSquare Corp.


> I've googled a bit and found nothing on this.
> I'm looking at DUA for the first time today and it's not launching my apps
> properly. Working through the exercises in Sean Liming's book, I tried the
> script for starting the calculator. It does start it, but not properly. All
> I get is a calculator icon and part of the title bar (blank, no buttons to
> minimise, close etc). It shows in the task bar. If another app is launched
> and goes over the top of it, an image of part of that window will 'stick'
> where the calculator app is. I can launch the calculator fine manually. Much
> the same happens with the 'reggie' app from the book. Any suggestions?



  Reply With Quote
Old 25-02-2005, 12:29 PM   #4
Heidi Linda
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

KM, this may be because I've not yet had any coffee, but I don't understand.
The first script I'm using is from Sean's book,
15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default

"KM" <konstmor@nospam_yahoo.com> wrote in message
news:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl...
> Heidi,
>
> You may want to enable DUA Service Logging and check out Event log for
> more info on why it is failing.
>
> Also, verify what Creation flags
> (http://msdn.microsoft.com/library/e...eationFlags.asp)
> and StartupInfo
> (http://msdn.microsoft.com/library/e...StartupInfo.asp)
> you set for the Execute command.
>
> --
> Regards,
> KM, BSquare Corp.
>
>
>> I've googled a bit and found nothing on this.
>> I'm looking at DUA for the first time today and it's not launching my
>> apps
>> properly. Working through the exercises in Sean Liming's book, I tried
>> the
>> script for starting the calculator. It does start it, but not properly.
>> All
>> I get is a calculator icon and part of the title bar (blank, no buttons
>> to
>> minimise, close etc). It shows in the task bar. If another app is
>> launched
>> and goes over the top of it, an image of part of that window will 'stick'
>> where the calculator app is. I can launch the calculator fine manually.
>> Much
>> the same happens with the 'reggie' app from the book. Any suggestions?

>
>



  Reply With Quote
Old 25-02-2005, 07:26 PM   #5
KM
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

Heidi,

The EXECUTEPROCESS command is described in the documentation:
http://msdn.microsoft.com/library/e...CUTEPROCESS.asp

Give the following sample command a try first:
EXECUTEPROCESS,,,,c:\windows\system32\cmd.exe,,c:\windows\system32\cmd.exe /k set,DAYES,60000,,DASEC_REV

If works, change it to the calc.exe. (you can remove "c:\windows\system32\cmd.exe /k set").

If not, you have problems with the user accounts under which the DUA is started and you are launching the command.
DUA Logging should help you to narrow this down.

KM

PS. For your own debugging, I'd recommend you using symbolyc constant that are defined for DUA.

> KM, this may be because I've not yet had any coffee, but I don't understand.
> The first script I'm using is from Sean's book,
> 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message news:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl...
>> Heidi,
>>
>> You may want to enable DUA Service Logging and check out Event log for more info on why it is failing.
>>
>> Also, verify what Creation flags (http://msdn.microsoft.com/library/e...eationFlags.asp) and StartupInfo
>> (http://msdn.microsoft.com/library/e...StartupInfo.asp) you set for the Execute command.
>>
>> --
>> Regards,
>> KM, BSquare Corp.
>>
>>
>>> I've googled a bit and found nothing on this.
>>> I'm looking at DUA for the first time today and it's not launching my apps
>>> properly. Working through the exercises in Sean Liming's book, I tried the
>>> script for starting the calculator. It does start it, but not properly. All
>>> I get is a calculator icon and part of the title bar (blank, no buttons to
>>> minimise, close etc). It shows in the task bar. If another app is launched
>>> and goes over the top of it, an image of part of that window will 'stick'
>>> where the calculator app is. I can launch the calculator fine manually. Much
>>> the same happens with the 'reggie' app from the book. Any suggestions?

>>
>>

>
>



  Reply With Quote
Old 01-03-2005, 02:26 AM   #6
Sean Liming \(eMVP\)
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

Heidi,

The decription on page 336 and 337 discuss the values set. Were a value
isn't set the default is applied. Are you running this in SP1 or SP2? Are
you using TaskManager Shell or Explorer Shell?

Regards,

Sean Liming (eMVP)
Managing Director
SJJ Embedded Micro Solutions

Author of
Windows XP Embedded Supplemental Toolkit Covering XPe SP2
Windows XP Embedded Advanced
Windows NT Embedded Step-by-Step

All available at www.sjjmicro.com

XPe Center website: www.seanliming.com

To learn more about Windows XP Embedded, come to MEDC 2005 in Las Vegas!
www.medc2005.com


"Heidi Linda" <heidi.linda@un-inspiredbroadcast.net> wrote in message
news:e9KA30yGFHA.2132@TK2MSFTNGP14.phx.gbl...
> KM, this may be because I've not yet had any coffee, but I don't
> understand.
> The first script I'm using is from Sean's book,
> 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
>
> "KM" <konstmor@nospam_yahoo.com> wrote in message
> news:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl...
>> Heidi,
>>
>> You may want to enable DUA Service Logging and check out Event log for
>> more info on why it is failing.
>>
>> Also, verify what Creation flags
>> (http://msdn.microsoft.com/library/e...eationFlags.asp)
>> and StartupInfo
>> (http://msdn.microsoft.com/library/e...StartupInfo.asp)
>> you set for the Execute command.
>>
>> --
>> Regards,
>> KM, BSquare Corp.
>>
>>
>>> I've googled a bit and found nothing on this.
>>> I'm looking at DUA for the first time today and it's not launching my
>>> apps
>>> properly. Working through the exercises in Sean Liming's book, I tried
>>> the
>>> script for starting the calculator. It does start it, but not properly.
>>> All
>>> I get is a calculator icon and part of the title bar (blank, no buttons
>>> to
>>> minimise, close etc). It shows in the task bar. If another app is
>>> launched
>>> and goes over the top of it, an image of part of that window will
>>> 'stick'
>>> where the calculator app is. I can launch the calculator fine manually.
>>> Much
>>> the same happens with the 'reggie' app from the book. Any suggestions?

>>
>>

>
>



  Reply With Quote
Old 02-03-2005, 05:49 AM   #7
Kesavan
Guest
 
Posts: n/a
Default Re: Weird problem with DUA

KM/Heidi,

I dont see any chances of login permissions issues over
here,because the app is able ot open ...The problem is that it is not
opening properly.It makes me seriously think whether there could be a
problem with the app itself getting up.As KM said,it wouldbe a good
idea to try a sample command and see if that works.. Did the script
get stuck for some reason !! just a thought.

Regards,
Kesavan


"Sean Liming \(eMVP\)" <seanl@seanliming.com.NOSPAM> wrote in message news:<OpoPw2fHFHA.2860@TK2MSFTNGP12.phx.gbl>...
> Heidi,
>
> The decription on page 336 and 337 discuss the values set. Were a value
> isn't set the default is applied. Are you running this in SP1 or SP2? Are
> you using TaskManager Shell or Explorer Shell?
>
> Regards,
>
> Sean Liming (eMVP)
> Managing Director
> SJJ Embedded Micro Solutions
>
> Author of
> Windows XP Embedded Supplemental Toolkit Covering XPe SP2
> Windows XP Embedded Advanced
> Windows NT Embedded Step-by-Step
>
> All available at www.sjjmicro.com
>
> XPe Center website: www.seanliming.com
>
> To learn more about Windows XP Embedded, come to MEDC 2005 in Las Vegas!
> www.medc2005.com
>
>
> "Heidi Linda" <heidi.linda@un-inspiredbroadcast.net> wrote in message
> news:e9KA30yGFHA.2132@TK2MSFTNGP14.phx.gbl...
> > KM, this may be because I've not yet had any coffee, but I don't
> > understand.
> > The first script I'm using is from Sean's book,
> > 15,0,0,0,c:\windows\system32\calc.exe,0,,1,4294967295,,1,,,,1,,,,,,,1,0,WinSta0\Default
> >
> > "KM" <konstmor@nospam_yahoo.com> wrote in message
> > news:e5o2VDtGFHA.544@TK2MSFTNGP12.phx.gbl...
> >> Heidi,
> >>
> >> You may want to enable DUA Service Logging and check out Event log for
> >> more info on why it is failing.
> >>
> >> Also, verify what Creation flags
> >> (http://msdn.microsoft.com/library/e...eationFlags.asp)
> >> and StartupInfo
> >> (http://msdn.microsoft.com/library/e...StartupInfo.asp)
> >> you set for the Execute command.
> >>
> >> --
> >> Regards,
> >> KM, BSquare Corp.
> >>
> >>
> >>> I've googled a bit and found nothing on this.
> >>> I'm looking at DUA for the first time today and it's not launching my
> >>> apps
> >>> properly. Working through the exercises in Sean Liming's book, I tried
> >>> the
> >>> script for starting the calculator. It does start it, but not properly.
> >>> All
> >>> I get is a calculator icon and part of the title bar (blank, no buttons
> >>> to
> >>> minimise, close etc). It shows in the task bar. If another app is
> >>> launched
> >>> and goes over the top of it, an image of part of that window will
> >>> 'stick'
> >>> where the calculator app is. I can launch the calculator fine manually.
> >>> Much
> >>> the same happens with the 'reggie' app from the book. Any suggestions?
> >>
> >>

> >
> >

  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