Feature #94

using BlackBox without the Windows registry

Added by J. Templ over 3 years ago. Updated over 3 years ago.

Status:ClosedStart date:01/11/2016
Priority:NormalDue date:
Assignee:J. Templ% Done:

100%

Category:-
Target version:1.7
Forum topic:

Description

In order to run BlackBox without using the Windows registry a command line option is required that allows one to specify a Windows .INI file to be used for reading and writing the BlackBox configuration settings.
A proposal for the changes by Koen Dessenger exists in CPC 1.7 rc6.

Refers to CPC 1.7 rc6 change list number 36.

Associated revisions

Revision 94c80f0a
Added by J. Templ over 3 years ago

command line option '/INIFILE' added. Refs: #94.
Partly as proposed in CPC 1.7 rc6.
Fixes a trivial bug in ReadRegistry: len is given in byte and must be multiplied by 2.
Differences to the CPC 1.7 version are:
1. The INI-file name is given as an explicit parameter following the /INIFILE option.
2. The top level section in the INI-file is named after the application.
3. HostMenus.ReadCommandLine is extended with the new option.

Signed-off-by: Josef Templ <>

Revision aad57726
Added by J. Templ over 3 years ago

command line option '/PORTABLE' added. Refs: #94.
/PORTABLE is a short form for /INIFILE where the .ini file name is
derived from Dialog.appName followed by ".ini".
Docu of command line options added.

Signed-off-by: Josef Templ <>

Revision d4efae95
Added by J. Templ over 3 years ago

some typos fixed in docu. Refs: #94.

Signed-off-by: Josef Templ <>

Revision c7d517e1
Added by J. Templ over 3 years ago

relative path for /USE option. Refs: #94.
As proposed by luowy.
A relative path for the /USE option supports the following use case:
1. Prepare a script for starting BlackBox with the /USE "." option.
2. Copy this script into a target directory.
3. Run the script from the target directory and thereby use this directory in the /USE option
and as start directory for the file open dialog.
(This is exactly the use case needed for working on issues of the BlackBox framework center.)

Signed-off-by: Josef Templ <>

History

#1 Updated by I. Denisov over 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF