Search descriptor for registry keys

Author: john.bergsma@upcmail.nl (bergsma)

Hi,

I am experiencing problems using logical printers on an application server. Settings for logical printers are normally stored within the HKEY_CURRENT_USER hive. On an application server however there is no user logged on and thus no HKEY_CURRENT_USER hive present. If the settings are stored within the HKEY_LOCAL_MACHINE hive this would solve the problem. In the current version of Uniface this is not possible and leads to a print error -400.

NB: The hive HKEY_CURRENT_USER is cleaned up when the user is logging off from the system and if there are no more processes running with the user as owner of the process.

I would like having the following wish added into Uniface:
A possibility to tell Uniface where to store and look for the settings in the registry. Something like $SEARCH_DESCRIPTOR and $SEARCH_OBJECT.
For instance: $SEARCH_REGISTRY = HKEY_CURRENT_USER | HKEY_LOCAL_MACHINE

Thanks,

John Bergsma

1 Comment

  1. Hi John,

     

    I would like to extend your wish to:

    Allow a choice to use an INI file instead of the Registry.

    Allows more flexibility (especially if it comes to demos, tests, testsets, working on different projects).

     

    Success, Uli


    Author: ulrich-merkel (ulrichmerkel@web.de)