Re: Best Method for File Storage
- From: "Jonathan Wood" <jwood@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 18:31:50 -0600
Thanks for your comments.
I'm trying to figure out if there are any special considerations for saving
my files on PocketPC. For example, would I normally have less RAM and so
should avoid reading the entire file into memory? Or perhaps diskspace is
more restricited?
I'm very new to this. I'd appreciate any other comments you could add.
Note: My existing app is in C++ and I was thinking about writing the
PocketPC version using C#. So I could still take the same approach (custom
file routines written from scratch), they'll just need to be ported to C#.
Thanks again.
--
Jonathan Wood
SoftCircuits Programming
http://www.softcircuits.com
<r_z_aret@xxxxxxxxxxxx> wrote in message
news:0pjc33pksa2t97qvie83buuv17lbvg51ki@xxxxxxxxxx
On Sun, 29 Apr 2007 20:18:58 -0600, "Jonathan Wood"
<jwood@xxxxxxxxxxxxxxxx> wrote:
I'm toying with writing my own PocketPC application. I'm using .NET and
C#.
This application needs to store a tree structure with text of varying
lengths associated with each node.
What is the recommended way to store this data on a PocketPC? I have a
similar desktop application that uses a custom file format. Would the same
approach be fine for the PocketPC, or does it make more sense to use a
database since I have the .NET platform available?
I think you should use the same method for "big" Windows and PocketPC,
unless you have a compelling reason to do something else. Just be
careful about Unicode issues when storing and reading the files; these
will be less important if you're sure your programs are the only ones
that will be reading and writing the files.
Thanks for any tips!
Jonathan
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and
please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- Follow-Ups:
- Re: Best Method for File Storage
- From: r_z_aret
- Re: Best Method for File Storage
- Prev by Date: Re: New Developer Looking for Advice
- Next by Date: Re: XML provisioning fails via CAB
- Previous by thread: Re: New Developer Looking for Advice
- Next by thread: Re: Best Method for File Storage
- Index(es):
Relevant Pages
|