|
|
User login
Feeds |
read a ini file
|
|||||
| Sat, 2005-08-06 08:10 | |
Forum posts: 188
You can have your own format of storing the data in the ini file.
say for example :
first 10 byte is for application version
second 10 byte is for IMEI no
third for bla bla bla...
and read it according to same format.
----
Chetan Kulshrestha
Forum posts: 2
can i have a simple example to make it a lil more clear..
Forum posts: 98
BlankLine =newline
Comment=BlankLine|(”;”(~newline)*newline)
KeyString=~(“;”|”[”](~newline)*newline
Key=Comment*KeyString?newline
SectionName =”[”(~newline)*”]”newline
Section=SectionName(Key)*
IniFile=Key*Section*EOF
(Character set Σ=ASCII)
Then you can write the corresponding ini parser !!!
Forum posts: 173
this is what Series60 sdk says:
A dictionary store contains a sequence of streams, each of which is accessed using a UID, rather than a simple stream ID. Dictionary stores are used by the application architecture to handle .ini files for applications.
The dictionary store base class is CDictionaryStore. Specialised stream types, RDictionaryReadStream and RDictionaryWriteStream, are provided for use with dictionary stores.
search by RDictionaryReadStream and RDictionaryWriteStream in sdk, u will get valueable articles
http://sandy.t35.com