Load time for large application

K

Keven Corazza

Hi,

I'm developing an application with NetCF1.0. The application is growing day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several options
and functions that are necessary immediately but they can activate when the
user request for them.

Is it possible to divide the code and dinamically load the requested part ?

In standard Windows application it is possible to load a DLL dinamically. Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza
 
G

Ginny Caughey

Keven,

Why are you developing for .NetCF 1? My suggestion would be to use something
newer.
 
K

Keven Corazza

Dear Ginny,

the developing of the application started few years ago with NETCF1.0. I
know that there is something new but we have to complete some features with
the current approach before to change.

Keven Corazza
 
C

Chris Tacke, MVP

The assemblies load when a class in it is used. Create less "stuff" at
startup and you'll have less code loading, and thereby faster loading. A
native splash screen can also go a long way toward positive user perception.
And I'm with Ginny - just changing to a newer version of the CF will improve
things.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 
K

Keven Corazza

Thank you Chris,

please confirm the following: the exe size doesn't influence the loading
time; it is just a matter of objects that are created at startup

I've also understand, in clear way, to move to new version of CF as soon as
possible.

Thank you.

Keven Corazza
 
M

Markus Humm

Hello,

for instance avoid to auto create all your forma at startup. Create them
only when calling them the first time.

Greetings

Markus
 
A

Alberto Silva, MVP

Marteem has just published an article detailing how you can create a native
C++ app which can promptly give some feedback to the user while starting the
..NET CF app, and thus giving the impression that it will start faster:

http://www.dotnetfordevices.com/forum.html#378


--

Alberto Silva
http://www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development


Keven Corazza said:
Hi,

I'm developing an application with NetCF1.0. The application is growing
day
by day, month by month and now the loading time is not the same as in the
beginning.

I suppose that this is normal but I'm thinking if there is a solution to
reduce the loading time. For example the application includes several
options
and functions that are necessary immediately but they can activate when
the
user request for them.

Is it possible to divide the code and dinamically load the requested part
?

In standard Windows application it is possible to load a DLL dinamically.
Is
there similar option in NETCF ?

Any suggestion is appreciated.

Thank you in advance

Keven Corazza


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 4401 (20090906) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________ Information from ESET NOD32 Antivirus, version of virus signature database 4405 (20090908) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top