Hi,

I would like to run a custom application when kernel is loading. to do that
I have added in my registry these settings:
[HKEY_LOCAL_MACHINE\init]

"Launch89"="Mem.exe"

"Depend89"=hex:1e,00



The app Mem.app, is an application that listen a sockect connection a read
some data in our system, but the problem comes when app is running and
accept an incomming connection, the performance of the app is quite low
compared if I run the app manually from a telnet session.

Could be this about the WinCe priorities for the init processes? How can
modify this?

Thanks,
Bye

Re: Run a app in a init, performance decrease a lot by Valter

Valter
Tue Jun 03 05:34:50 PDT 2008

"cp" <c@d.co> wrote in news:epKaHQXxIHA.420@TK2MSFTNGP02.phx.gbl:

[...]
> The app Mem.app, is an application that listen a sockect
> connection a read some data in our system, but the problem comes
> when app is running and accept an incomming connection, the
> performance of the app is quite low compared if I run the app
> manually from a telnet session.

The application opens a console window?
The CE graphical console is not very fast and slower than a network
connection.


--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Run a app in a init, performance decrease a lot by cp

cp
Tue Jun 03 06:03:17 PDT 2008

Hi,

nop the app is a command line application, nothing about a graphical window.


"Valter Minute" <v_a_l_t_e_r.m_i_n_u_t_e@g_m_a_i_l.com> escribió en el
mensaje news:Xns9AB294562B546VALTERMINUTE@207.46.248.16...
> "cp" <c@d.co> wrote in news:epKaHQXxIHA.420@TK2MSFTNGP02.phx.gbl:
>
> [...]
>> The app Mem.app, is an application that listen a sockect
>> connection a read some data in our system, but the problem comes
>> when app is running and accept an incomming connection, the
>> performance of the app is quite low compared if I run the app
>> manually from a telnet session.
>
> The application opens a console window?
> The CE graphical console is not very fast and slower than a network
> connection.
>
>
> --
> Valter Minute
> www.fortechembeddedlabs.it
> Training, support and development for Windows CE
> (the reply address of this message is invalid)



Re: Run a app in a init, performance decrease a lot by Valter

Valter
Tue Jun 03 06:48:25 PDT 2008

"cp" <c@d.co> wrote in news:#gkMyoXxIHA.1236@TK2MSFTNGP02.phx.gbl:

> Hi,
>
> nop the app is a command line application, nothing about a
> graphical window.

The commandline applications uses console I/O (printf,scanf etc.)?
If you run it on your device and your device has a graphics user
interface (does it?) it will open a console (text) window or run
inside the same window you used to launch it (CMD, I suppose).
That window is graphic and it's updating isn't very fast (scrolling
it's also quite slow) and this may impact your application
performances since printfs etc. are performed syncrounusly.

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Run a app in a init, performance decrease a lot by cp

cp
Tue Jun 03 07:27:14 PDT 2008

Hi,

You are right a command window is launched.

and.. is there any way to launch my app and command window was not launched?

Bye,


"Valter Minute" <v_a_l_t_e_r.m_i_n_u_t_e@g_m_a_i_l.com> escribió en el
mensaje news:Xns9AB2A0CF5B308VALTERMINUTE@207.46.248.16...
> "cp" <c@d.co> wrote in news:#gkMyoXxIHA.1236@TK2MSFTNGP02.phx.gbl:
>
>> Hi,
>>
>> nop the app is a command line application, nothing about a
>> graphical window.
>
> The commandline applications uses console I/O (printf,scanf etc.)?
> If you run it on your device and your device has a graphics user
> interface (does it?) it will open a console (text) window or run
> inside the same window you used to launch it (CMD, I suppose).
> That window is graphic and it's updating isn't very fast (scrolling
> it's also quite slow) and this may impact your application
> performances since printfs etc. are performed syncrounusly.
>
> --
> Valter Minute
> www.fortechembeddedlabs.it
> Training, support and development for Windows CE
> (the reply address of this message is invalid)



Re: Run a app in a init, performance decrease a lot by Bruce

Bruce
Tue Jun 03 07:48:14 PDT 2008

Don't use console I/O like printf.

--
Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

"cp" <c@d.co> wrote in message news:egxGtXYxIHA.420@TK2MSFTNGP02.phx.gbl...
> Hi,
>
> You are right a command window is launched.
>
> and.. is there any way to launch my app and command window was not
> launched?
>
> Bye,
>
>
> "Valter Minute" <v_a_l_t_e_r.m_i_n_u_t_e@g_m_a_i_l.com> escribió en el
> mensaje news:Xns9AB2A0CF5B308VALTERMINUTE@207.46.248.16...
>> "cp" <c@d.co> wrote in news:#gkMyoXxIHA.1236@TK2MSFTNGP02.phx.gbl:
>>
>>> Hi,
>>>
>>> nop the app is a command line application, nothing about a
>>> graphical window.
>>
>> The commandline applications uses console I/O (printf,scanf etc.)?
>> If you run it on your device and your device has a graphics user
>> interface (does it?) it will open a console (text) window or run
>> inside the same window you used to launch it (CMD, I suppose).
>> That window is graphic and it's updating isn't very fast (scrolling
>> it's also quite slow) and this may impact your application
>> performances since printfs etc. are performed syncrounusly.
>>
>> --
>> Valter Minute
>> www.fortechembeddedlabs.it
>> Training, support and development for Windows CE
>> (the reply address of this message is invalid)
>
>



Re: Run a app in a init, performance decrease a lot by Valter

Valter
Tue Jun 03 08:09:09 PDT 2008

"cp" <c@d.co> wrote in news:egxGtXYxIHA.420@TK2MSFTNGP02.phx.gbl:

> Hi,
>
> You are right a command window is launched.
>
> and.. is there any way to launch my app and command window was not
> launched?

If you don't need them, remove calls to printf-like functions.
To do a quick performance test, redirect the output to a file inside
the obect store or to NUL (I don't know if that works on CE, it worked
on DOS and works on XP).

--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)

Re: Run a app in a init, performance decrease a lot by Eizi

Eizi
Mon Jul 28 00:47:01 PDT 2008

"Valter Minute" wrote:

> "cp" <c@d.co> wrote in news:egxGtXYxIHA.420@TK2MSFTNGP02.phx.gbl:
>
> > Hi,
> >
> > You are right a command window is launched.
> >
> > and.. is there any way to launch my app and command window was not
> > launched?
>
> If you don't need them, remove calls to printf-like functions.
> To do a quick performance test, redirect the output to a file inside
> the obect store or to NUL (I don't know if that works on CE, it worked
> on DOS and works on XP).

Did this work? How can I do that? Actually, this is what I am looking for.