Re: setTimer - what have I missed?

From: Bolla (trond.loekstad_at_no.abb.com)
Date: 02/25/05


Date: Fri, 25 Feb 2005 15:38:11 +0100

Thanks for fast response!

I have taken a serial based (UART) Modbus client application from Windows PC
environment and ported it to my WinCE Xscale 255 hardware platform based on
the Lubbock (XSC1BD) BSP. There is no display on my board.
In my BSP I have included the feature "Minimal GWES Configuration" in my
build, but still the method SetTimer is not available.

I have come around the problem by making my own timer thread, but would like
to use the system call SetTimer instead (guess it is more efficient).

Do you know which GWES feature(s) that is required, and can I use it for my
Headless device?

/trond

"Bruce Eitman (eMVP)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in
message news:u3imFH0GFHA.3612@TK2MSFTNGP09.phx.gbl...
> A quick look in winuser.h would give you the answer. It is dependent on
> GWES_TIMER. Since you have a headless system, which I take to be a system
> without GWES, then no your platform would not support it.
>
> This makes sense, since SetTimer drives an event, and you don't have an
> event sub-system in your platform.
>
> What are you trying to do, maybe there is a way.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
>
> "Bolla" <trond.loekstad@no.abb.com> wrote in message
> news:%23YrcAZxGFHA.3628@TK2MSFTNGP15.phx.gbl...
> > I wished it was so, but I used SetTimer in my code.
> > Can it have anything to do with my tiny headless device platform
> > configuration?
> > I thought this was part of the kernel anyway!
> > Looking forward for any ideas?
> > /trond
> >
> > "Zhongwei Wang" <wang@applieddata[dot]_net> wrote in message
> > news:evtwntrGFHA.3156@TK2MSFTNGP10.phx.gbl...
> > > Looks like you typed SetTimer as setTimer.
> > >
> > > --
> > > Zhongwei Wang
> > > Applied Data Systems
> > > www.applieddata.net
> > > Application - Ready embedded systems
> > > Microsoft Windows Embedded Partner
> > > Gold Level Member
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: Problem cloning calibrui
    ... I once wrote an article on how to clone that one on a per platform basis... ... If you decide to go this way, you'd need to use sysgen_capture to capture the make instructions for GWES (check the help for the sysgen_capture command line. ... This will give you a sources.x file or two, one of which you'll rename to SOURCES, and modify to use your own CALIBRUI library, rather than the PUBLIC one. ... resources do not show up in gwes. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: setTimer - what have I missed?
    ... Since you have a headless system, which I take to be a system ... then no your platform would not support it. ... > I wished it was so, but I used SetTimer in my code. ... >> Applied Data Systems ...
    (microsoft.public.windowsce.platbuilder)
  • Re: locating platform outside Wince420
    ... Platform Builder and that works pretty well. ... The only hitch I've had is that this build doesn't seem to build gwes. ... It seems to get to the dirs files, see the line "# @CESYSGEN IF ... If I understand correctly partly the reason clearcase has ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SOS on TaskMan Shell in WindowsCE 5.0
    ... in my case device.exe was stuck with one of the driver so GWES, ... I had to new a platform project without any network support to get anyway ... > How to include the taskman shell in WindowsCE 5.0? ...
    (microsoft.public.windowsce.platbuilder)
  • Replacing calibrui in CE 4.2
    ... in the common folders and rebuild" so I'm trying to get GWES to use a ... replacement calibrui from my platform. ...
    (microsoft.public.windowsce.platbuilder)