Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / September 2006

Tip: Looking for answers? Try searching our database.

Rewriting application from C# to MFC C++

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
LaSu - 29 Sep 2006 15:54 GMT
Hi!
I'm working on application written in C# but unfortunately because of
Windows CE memory architecture which has a limit of memory usage 32Mb
per each process. The most confusing part is that mine application
consumes about 14 Mb of memory but other processes load to mine memory
slot other dll and these dll files consumes more than 15 Mb of mine
memory. So in fact for mine application I don't have 32 Mb of memory,
all I can access is about 16Mb.
I'm wondering what impact on memory usage would have rewriting
application from C# (CF 2.0) co MFC in C++?
How much memory I will save?
Does anybody have experience with that?

Regards
Bartek
<ctacke/> - 29 Sep 2006 16:37 GMT
Moving to C++ would probably be worse, in fact. C# does a lot of work for
you putting things into shared memory outside the process's 32MB space.  If
you don't know how to do that in C++, you'll likely put them inside your
process space and run out of memory much faster.

How do you know your app is using 14MB of space, and how do you know it's
all for the 32MB process slot?

Signature

Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--

> Hi!
> I'm working on application written in C# but unfortunately because of
[quoted text clipped - 11 lines]
> Regards
> Bartek

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.