PC Review


Reply
Thread Tools Rate Thread

Application size targetting Windows CE 5.0 device

 
 
Alain Dekker
Guest
Posts: n/a
 
      18th Mar 2011
I've tried deleting loads of variables, unused functions, etc from a project
I've inherited, but my app targetting Windows CE 5.0 using Visual Studio
2005 remains stubbornly at around 9.3MB. What can I can do to reduce that?

This application is using the .NET Compact Framework v2.0.

Thanks,
Alain


 
Reply With Quote
 
 
 
 
Alain Dekker
Guest
Posts: n/a
 
      19th Mar 2011
Well, egg on my face. Thanks for suggesting that. I've fairly new to this
application and you're exactly right. There are a fair numer of bitmaps that
are compiled into the final EXE as resources and then loaded at runtime
depending on user settings. Will see if anything can be done about these.

Thanks,
Alain

"Peter Duniho" <(E-Mail Removed)> wrote in message
news:RvydnV6obf-(E-Mail Removed)...
> On 3/18/11 11:54 AM, Alain Dekker wrote:
>> I've tried deleting loads of variables, unused functions, etc from a
>> project
>> I've inherited, but my app targetting Windows CE 5.0 using Visual Studio
>> 2005 remains stubbornly at around 9.3MB. What can I can do to reduce
>> that?
>>
>> This application is using the .NET Compact Framework v2.0.

>
> Really, there are better forums for a question like this. The forums that
> are specifically intended for work with the Compact Framework are
> populated by people with specific, applicable experience.
>
> That said, I will note that for a plain managed desktop program, 9MB is
> enormous unless there are embedded resources, such as audio files,
> bitmaps, etc. If you do have such resources, reducing the size further
> may be very difficult, unless you're able to apply some compression to
> those resources or eliminate some.
>
> If you don't have such resources and the 9MB really is due to the actual
> code in the program, then you must be dealing with a very large program
> (hundreds of thousands of lines of code?). There's nothing magical about
> reducing code bloat. You just have to do it, and hope that most of the
> bloat is due to wanton copy-and-paste (which is easily fixed).
>
> For what it's worth, if you really do have a program hundreds of thousands
> of lines of code long, that seems surprisingly large for something that's
> supposed to run on a mobile device. (Actually, it seems surprisingly
> large to me for any normal, single-user application, even not counting
> that it's managed code ). If it really is that large, one hopes that
> there is indeed something silly about the implementation that can be
> easily fixed, to make it smaller.
>
> Pete



 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using windows application project on a mobile device Tom Berger Microsoft Dot NET Compact Framework 2 17th Apr 2008 11:45 AM
how to develop a C# application targetting .net1.1 version chinna Microsoft Dot NET Framework 1 30th Aug 2006 05:49 AM
Form Size when targetting other machines. Chris Dunaway Microsoft Dot NET Framework Forms 8 11th Mar 2006 08:03 PM
Cursor in a smart device application (windows CE) =?Utf-8?B?cGFzY2FsLnBzaW9u?= Microsoft Dot NET Compact Framework 6 15th Jul 2004 02:26 PM
Connect to IrDA device from Windows Application Pedra Siddik Microsoft Dot NET Framework 0 12th Aug 2003 05:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:11 PM.