Search descriptor for registry keys
Author: firstname.lastname@example.org (bergsma)
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