|
Prev: Visual Studios 2005
Next: SHBrowseForFolder?
From: Cush on 14 Nov 2005 05:25 Hi, Ok, let me explain what I have done first of all 1. Created a small program for Pocket PC 2003 2. Copied it to normal memory AND Flash memory for backup Now, let me explain want I am doing: 1. Perform a soft reset - both copies of program are ok 2. Perform a hard reset - copy in Flash OK but copy in normal menory - Gone! This is as expected. Now, let me explain what I have also done. 1. Created a small program called restoreprogram.exe which does the following when run 1. Looks in the directory where the original program should be 2. If it is not there then copy the program from flash - restore it! I want this restoreprogram.exe to run every time a reset is done - I have done this exact procedure on Handheld PC (various Casio PDAs) but on Handheld PC there is a directory in the flash memory and any program that is placed inside this is run when a reset is carried out. My question is - is there such a directory to store this restore program on Pocket PC2003 so that when a reset is carried out is will run - (Like the Startup folder only the contents of this gets wiped when a hard reset is done) Thanks for any help anyone can give me Cush
From: "Michael Gledhill" <mikeg @ extendsys . on 14 Nov 2005 07:10 Hi Cush, You should be able to put your .exe in the 2577 of your internal storage directory, and this'll get run when your device first starts up. For example, copy it to: \Storage\2577 \Built-in Storage\2577 (for some Dell devices) and so on. By the way, if all you want to do is have an easy way to soft/hard reset devices, check out the SQLCE Database Viewer. One of it's useful features is that you can soft/hard reset *most* devices from your Desktop. Very cool. www.pocketpctoolkit.com Mike "Cush" wrote: > Hi, > Ok, let me explain what I have done first of all > > 1. Created a small program for Pocket PC 2003 > 2. Copied it to normal memory AND Flash memory for backup > > Now, let me explain want I am doing: > > 1. Perform a soft reset - both copies of program are ok > 2. Perform a hard reset - copy in Flash OK but copy in normal menory - Gone! > > This is as expected. > > Now, let me explain what I have also done. > > 1. Created a small program called restoreprogram.exe which does the > following when run > 1. Looks in the directory where the original program should be > 2. If it is not there then copy the program from flash - restore it! > > I want this restoreprogram.exe to run every time a reset is done - I have > done this > exact procedure on Handheld PC (various Casio PDAs) but on Handheld PC there > is a directory in the flash memory and any program that is placed inside this > is run when a reset is carried out. > > My question is - is there such a directory to store this restore program on > Pocket PC2003 so that when a reset is carried out is will run - (Like the > Startup folder only the contents of this gets wiped when a hard reset is done) > > Thanks for any help anyone can give me > > Cush
From: Cush on 14 Nov 2005 08:30 Hi Mike, Thanks for your quick reply, I am new to Pocket PC development so please excuse my ignorance: I am using a HP 1710 PDA On my Root directory (I assume 'My Device' is the root directory) the permanent storage is called "iPaq File Store" and this is an empty folder. Where is the 2577 folder ? What is this Folder? Thanks again Cush "Michael Gledhill" wrote: > > Hi Cush, > > You should be able to put your .exe in the 2577 of your internal storage > directory, and this'll get run when your device first starts up. > For example, copy it to: > \Storage\2577 > \Built-in Storage\2577 (for some Dell devices) > and so on. > > By the way, if all you want to do is have an easy way to soft/hard > reset devices, check out the SQLCE Database Viewer. One of it's > useful features is that you can soft/hard reset *most* devices > from your Desktop. Very cool. > www.pocketpctoolkit.com > > > Mike > > > "Cush" wrote: > > > Hi, > > Ok, let me explain what I have done first of all > > > > 1. Created a small program for Pocket PC 2003 > > 2. Copied it to normal memory AND Flash memory for backup > > > > Now, let me explain want I am doing: > > > > 1. Perform a soft reset - both copies of program are ok > > 2. Perform a hard reset - copy in Flash OK but copy in normal menory - Gone! > > > > This is as expected. > > > > Now, let me explain what I have also done. > > > > 1. Created a small program called restoreprogram.exe which does the > > following when run > > 1. Looks in the directory where the original program should be > > 2. If it is not there then copy the program from flash - restore it! > > > > I want this restoreprogram.exe to run every time a reset is done - I have > > done this > > exact procedure on Handheld PC (various Casio PDAs) but on Handheld PC there > > is a directory in the flash memory and any program that is placed inside this > > is run when a reset is carried out. > > > > My question is - is there such a directory to store this restore program on > > Pocket PC2003 so that when a reset is carried out is will run - (Like the > > Startup folder only the contents of this gets wiped when a hard reset is done) > > > > Thanks for any help anyone can give me > > > > Cush
From: Chris Tacke, eMVP on 14 Nov 2005 12:46 2577 is the old processor identifier for ARM and it's a folder you need to create. You could also use simply the number 0 for the name, which means "all processors." Of course this all assumes the iPaq File Store will be treated as a storage card when mounted. -- Chris Tacke Co-founder OpenNETCF.org Are you using the SDF? Let's do a case study. Email us at d c s @ o p e n n e t c f . c o m http://www.opennetcf.org/donate "Cush" <Cush(a)discussions.microsoft.com> wrote in message news:B51A07DB-3299-40A5-A367-E3404A51D3CF(a)microsoft.com... > Hi Mike, > > Thanks for your quick reply, > > I am new to Pocket PC development so please excuse my ignorance: > > I am using a HP 1710 PDA > > On my Root directory (I assume 'My Device' is the root directory) the > permanent storage is called "iPaq File Store" and this is an empty folder. > > Where is the 2577 folder ? What is this Folder? > > Thanks again > > Cush > > "Michael Gledhill" wrote: > >> >> Hi Cush, >> >> You should be able to put your .exe in the 2577 of your internal >> storage >> directory, and this'll get run when your device first starts up. >> For example, copy it to: >> \Storage\2577 >> \Built-in Storage\2577 (for some Dell devices) >> and so on. >> >> By the way, if all you want to do is have an easy way to soft/hard >> reset devices, check out the SQLCE Database Viewer. One of it's >> useful features is that you can soft/hard reset *most* devices >> from your Desktop. Very cool. >> www.pocketpctoolkit.com >> >> >> Mike >> >> >> "Cush" wrote: >> >> > Hi, >> > Ok, let me explain what I have done first of all >> > >> > 1. Created a small program for Pocket PC 2003 >> > 2. Copied it to normal memory AND Flash memory for backup >> > >> > Now, let me explain want I am doing: >> > >> > 1. Perform a soft reset - both copies of program are ok >> > 2. Perform a hard reset - copy in Flash OK but copy in normal menory - >> > Gone! >> > >> > This is as expected. >> > >> > Now, let me explain what I have also done. >> > >> > 1. Created a small program called restoreprogram.exe which does the >> > following when run >> > 1. Looks in the directory where the original program should be >> > 2. If it is not there then copy the program from flash - restore it! >> > >> > I want this restoreprogram.exe to run every time a reset is done - I >> > have >> > done this >> > exact procedure on Handheld PC (various Casio PDAs) but on Handheld PC >> > there >> > is a directory in the flash memory and any program that is placed >> > inside this >> > is run when a reset is carried out. >> > >> > My question is - is there such a directory to store this restore >> > program on >> > Pocket PC2003 so that when a reset is carried out is will run - (Like >> > the >> > Startup folder only the contents of this gets wiped when a hard reset >> > is done) >> > >> > Thanks for any help anyone can give me >> > >> > Cush
From: Cush on 15 Nov 2005 04:26
Thanks Chris I'll try that, Also do you know how to get rid of the HP Welcome screen ( the one that appears when a soft reset is done - it displays a progress bar and stays on for about 10 seconds) - is this necessary, is it doing any kind of initialising? is this just an .exe I can delete from somewhere? Thanks again, Cush "Chris Tacke, eMVP" wrote: > 2577 is the old processor identifier for ARM and it's a folder you need to > create. You could also use simply the number 0 for the name, which means > "all processors." Of course this all assumes the iPaq File Store will be > treated as a storage card when mounted. > > -- > Chris Tacke > Co-founder > OpenNETCF.org > Are you using the SDF? Let's do a case study. > Email us at d c s @ o p e n n e t c f . c o m > http://www.opennetcf.org/donate > > > "Cush" <Cush(a)discussions.microsoft.com> wrote in message > news:B51A07DB-3299-40A5-A367-E3404A51D3CF(a)microsoft.com... > > Hi Mike, > > > > Thanks for your quick reply, > > > > I am new to Pocket PC development so please excuse my ignorance: > > > > I am using a HP 1710 PDA > > > > On my Root directory (I assume 'My Device' is the root directory) the > > permanent storage is called "iPaq File Store" and this is an empty folder. > > > > Where is the 2577 folder ? What is this Folder? > > > > Thanks again > > > > Cush > > > > "Michael Gledhill" wrote: > > > >> > >> Hi Cush, > >> > >> You should be able to put your .exe in the 2577 of your internal > >> storage > >> directory, and this'll get run when your device first starts up. > >> For example, copy it to: > >> \Storage\2577 > >> \Built-in Storage\2577 (for some Dell devices) > >> and so on. > >> > >> By the way, if all you want to do is have an easy way to soft/hard > >> reset devices, check out the SQLCE Database Viewer. One of it's > >> useful features is that you can soft/hard reset *most* devices > >> from your Desktop. Very cool. > >> www.pocketpctoolkit.com > >> > >> > >> Mike > >> > >> > >> "Cush" wrote: > >> > >> > Hi, > >> > Ok, let me explain what I have done first of all > >> > > >> > 1. Created a small program for Pocket PC 2003 > >> > 2. Copied it to normal memory AND Flash memory for backup > >> > > >> > Now, let me explain want I am doing: > >> > > >> > 1. Perform a soft reset - both copies of program are ok > >> > 2. Perform a hard reset - copy in Flash OK but copy in normal menory - > >> > Gone! > >> > > >> > This is as expected. > >> > > >> > Now, let me explain what I have also done. > >> > > >> > 1. Created a small program called restoreprogram.exe which does the > >> > following when run > >> > 1. Looks in the directory where the original program should be > >> > 2. If it is not there then copy the program from flash - restore it! > >> > > >> > I want this restoreprogram.exe to run every time a reset is done - I > >> > have > >> > done this > >> > exact procedure on Handheld PC (various Casio PDAs) but on Handheld PC > >> > there > >> > is a directory in the flash memory and any program that is placed > >> > inside this > >> > is run when a reset is carried out. > >> > > >> > My question is - is there such a directory to store this restore > >> > program on > >> > Pocket PC2003 so that when a reset is carried out is will run - (Like > >> > the > >> > Startup folder only the contents of this gets wiped when a hard reset > >> > is done) > >> > > >> > Thanks for any help anyone can give me > >> > > >> > Cush > > > |