----boundary-LibPST-iamunique-1740267388_-_-
Content-type: text/plain
Alexander
I save this information in binary files, with the
extension .bin, in the Rsrc subdirectory.
One example is the last few search/replace strings in
my text find tool:- see the procedures IntBin & ExtBin
in Cpc/Mod/Search.
Another is the last few file names/path names in my file
selector module: see the procedures ReadStaus/SaveStatus
in Lib/Mod/FileSelectors - both available on CPC site.
I don't claim this is in any way 'standard'.
Cheers
Robert
>> -----Original Message-----
>> From: blackbox{([at]})nowhere.xy>> Behalf Of Alexander Iljin
>> Sent: 30 November 2006 08:07
>> To: BlackBox Mailing List
>> Subject: [BlackBox] - Settings
>>
>> *** WARNING ***
>>
>> This mail has originated outside your organization, either
>> from an external partner or the Global Internet.
>> Keep this in mind if you answer this message.
>>
>> Hello!
>>
>> Is there a standard way in BlackBox for keeping program's settings
>> between runs?
>> HostRegistry is not a good idea, because it is not portable.
>> I'm talking about some sort of configuration files, like ini-files?
>> Did anyone work with those? Do you have any modules of subsystems
>> you could share?
>>
>> PS: I know about Dialog.MapString, but I found no predefined way to
>> _store_ changed information back into strings resource file.
>>
>> ---===---
>> Alexander
>>
>> --- BlackBox
>> --- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy>>
>>
>>
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy
----boundary-LibPST-iamunique-1740267388_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xm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KipccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2VuZCBzdWJqZWN0IEhFTFAgb3Ig
VU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9uLmNoXHBhcg0KXHBhcg0KLS0tIEJsYWNrQm94
XHBhcg0KLS0tIHNlbmQgc3ViamVjdCBIRUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9i
ZXJvbi5jaFxwYX19ADY5cndLbWs
----boundary-LibPST-iamunique-1740267388_-_---
Received on Mon Dec 11 2006 - 09:54:56 UTC