WriteRegistry 

Purpose

Writes the current user and connection information into the Windows registry. Windows applications only.

Syntax

void WriteRegistry (HKEY hKeyRoot, CSTR regPath);

Parameters

Exceptions

Throws const char* for registry entry creation failure.

Description

This member function writes into the Windows registry current user logon and connection information

The following values names are written into the registry to be associated with the specified registry key. The data type of the values are shown on the right.

 

Value Name

Data Type

Description

Destination

REG_SZ

Destination name of the R/3 system you are connecting to

User

REG_SZ

R/3 User name

Client

REG_SZ

R/3 Client number

Password

REG_SZ

R/3 User password

Language

REG_SZ

Language of R/3 log on, usually either English or German

Host Name

REG_SZ

Name of the application server host machine

System Number

REG_DWORD

R/3 System number

Gateway Host

REG_SZ

Name of the gateway host

Gateway Service

REG_SZ

Name of the gateway service

Group

REG_SZ

If host name is unspecified, group name is used for R/3 load-balancing connection

Message Server

REG_SZ

Name of the message server

System Name

REG_SZ

The R/3 System name for the load-balancing connection

SAPGUI

REG_DWORD

Flag to indicate whether SAPGUI is enabled or not

RFC Mode

REG_DWORD

Mode of the RFC connection

Encryption

REG_DWORD

Flag 0 = password not encrypted, 1 = password is encrypted

Related Information

ReadRegistry