Notices

Applications and Utilities Talk about apps and utilities for Windows Mobile and PPC

Reply
 
LinkBack Thread Tools
Old 03-08-04, 05:04 AM   #1 (permalink)
Aximsite Rookie
 
Join Date: Jul 2003
Location: Dublin, Ireland
Posts: 58
Thanked 0 Times in 0 Posts
Question for Software developers

Hi,
I have a quick question for anybody who develops software for the PPC.

I have a few programs installed, like PIMs, which are taking up nearly 5 megs in DLL's in the \Windows folder, and trying to move all their files onto the SD card, into the folders where the main executable is stored, stops them working.

Why are files stored in the \Windows folder on the device?

If a program is installed onto a CF or SD card, then why not keep all the files relating to an app together in its own folder, rather than taking up space in memory?

The programs will not run properly if the card is removed, regardless of where it is installed.

If its a question of the speed difference between device memory and SD/CF memory, I don't think there is such a large amount of difference.

I'm really just curious, so that when I start developing I know of any pitfalls in this area, and if there is no reason for storing files in the \Windows folder, should I look forward to programs using less of my main memory.

Eoin
eoinkennedy is offline   Reply With Quote
Sponsor Ads
Old 03-08-04, 05:45 AM   #2 (permalink)
amitregev
Guest
 
Posts: n/a
Hi Eoin,

I'm the head of the development team of CP Pro on SBSH.net Mobile Software and our software also must be installed on the default directory and we have several files stored in the \Windows folder so I'll try to answer your question.

I'll answer from our product "Calendar Plus Professional" point of view, which is a today screen plug-in and behaves a bit different from a regular stand-alone program, but the same answer is right for any "large" software that connects to the main PIM database and etc.

The way Microsoft designed the OS, many of the databases and important DLL's are located on the \Windows folder and software that want to connect to the default PIM databases need to sit under the same folder, the same thing for any Today screen plug-in that must be installed in the \Windows folder.

I think it might also work if it will be installed in a different folder but this is not documented so we never tried it (you don't want to try things that are not documented because you can't really know if they will work on all devices etc.).

One thing is for sure, if a program is designed to work on the default install dir only, trying to move it's files will cause it not to work any more almost all the time, this is because that at the time of the installation the software writes values in the registry that specify other software-depended files location, moving these files will cause the software not to work any more.

I hope it helped...
  Reply With Quote
Old 03-08-04, 08:45 AM   #3 (permalink)
Aximsite Rookie
 
Join Date: Jul 2003
Location: Dublin, Ireland
Posts: 58
Thanked 0 Times in 0 Posts
Thats why I love this site.


Thanks, guess its a MS caused difficulty then.

Eoin
eoinkennedy is offline   Reply With Quote
Old 03-08-04, 10:49 AM   #4 (permalink)
Aximsite All Star
 
Join Date: Apr 2003
Location: San Angelo, TX
Posts: 754
Thanked 0 Times in 0 Posts
Quote:
Originally posted by eoinkennedy
Thanks, guess its a MS caused difficulty then.
One is tempted to use this as a generic response. It seems applicable to rather a large class of problems.
pswets is offline   Reply With Quote
Reply

Sponsor Ads

Thread Tools

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 On



All times are GMT -5. The time now is 08:01 AM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC