Top Method Summary
Options Name Purpose
CHARACTER FindProjectNameForPath (character) Searches the Registry for the location of an PDSOE Project
CHARACTER FindProjectPath (character) Searches the Registry for the location of an PDSOE Project
CHARACTER GetProjectPaths (RegistryKey) Returns the names of the values of the IDE Support registry key (the project paths) as a CHR(1) delimited list
LOGICAL IsDebugLauncher (character) Returns a logical value indicating if the startup procedure is the debug launcher of the IDE (_debuglauncher.p)
LOGICAL LaunchedFromIde () Returns a logical value indicating if the current session was started from the IDE
Microsoft.Win32.RegistryKey OpenIdeSupportRegistryKey () Opens the registry key HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support for read only access
CHARACTER SelectProjectPath (character, character) Returns the project path from a list of project paths that contains the given path
SendRequest (character, integer) Sends a request/command to an OpenEdge Architect instance

Top Constructor Summary
Options Name Purpose
OpenEdgeArchitectHelper () Disallow instance creation


Method Detail
Top

CHARACTER FindProjectNameForPath (character)

Purpose: Searches the Registry for the location of an PDSOE Project
Notes: Based on the registry values under HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support
that are created by the _idestartup.
SCL-5957: The registry is accessed read only, the project path must
be followed by a path delimiter and the longest matching project
path wins (see SelectProjectPath)

Parameters:
pcPathName CHARACTER
The path to lookup
Returns CHARACTER
The name of the project or ? when no project is found
Top

CHARACTER FindProjectPath (character)

Purpose: Searches the Registry for the location of an PDSOE Project
Notes: Based on the registry values under HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support
that are created by the _idestartup.
SCL-5957: The registry is accessed read only, the project path must
be followed by a path delimiter and the longest matching project
path wins (see SelectProjectPath)

Parameters:
pcPathName CHARACTER
The path to lookup
Returns CHARACTER
The path of the project or ? when no project is found
Top

CHARACTER GetProjectPaths (RegistryKey)

Purpose: Returns the names of the values of the IDE Support registry key
(the project paths) as a CHR(1) delimited list
Notes: SCL-5957

Parameters:
poRegistry Microsoft.Win32.RegistryKey
The IDE Support registry key
Returns CHARACTER
The CHR(1) delimited list of project paths
Top

LOGICAL IsDebugLauncher (character)

Purpose: Returns a logical value indicating if the startup procedure is the
debug launcher of the IDE (_debuglauncher.p)
Notes: SCL-5957: Returns FALSE for the unknown value or an empty startup
procedure. Backslashes are treated as path delimiters on every
platform

Parameters:
pcStartupProcedure CHARACTER
The value of the -p startup parameter
Returns LOGICAL
Logical value indicating if the startup procedure is the debug launcher
Top

LOGICAL LaunchedFromIde ()

Purpose: Returns a logical value indicating if the current session was started
from the IDE
Notes: SCL-5957: Returns FALSE (not ?) when the session was started
without the -p startup parameter (e.g. a PASOE agent)

Returns LOGICAL
Logical value indicating if the current session was started from the IDE
Top

Microsoft.Win32.RegistryKey OpenIdeSupportRegistryKey ()

Purpose: Opens the registry key HKEY_CURRENT_USER\Software\Consultingwerk Ltd.\IDE Support
for read only access
Notes: SCL-5957: A lookup must not create the registry key. The caller
is responsible for disposing the returned key

Returns Microsoft.Win32.RegistryKey
The registry key or ? when the key does not exist
Top

CHARACTER SelectProjectPath (character, character)

Purpose: Returns the project path from a list of project paths that
contains the given path
Notes: SCL-5957: A project path only matches when the path equals the
project path or continues with a path delimiter after it, so
C:\Work\Proj \Work\Proj does not match C:\Work\Proj2\x.p. When several project
paths match (nested projects), the longest one is returned.
Forward slashes and backslashes are treated as equal, the
comparison is case-insensitive. Empty entries are ignored

Parameters:
pcPathName CHARACTER
The path to lookup
pcProjectPaths CHARACTER
The CHR(1) delimited list of project paths
Returns CHARACTER
The matching project path (as contained in the list) or ? when no project path matches
Top

SendRequest (character, integer)

Purpose: Sends a request/command to an OpenEdge Architect instance
Notes: See adecomm/oeideservice.p for details

Parameters:
pcCommand CHARACTER
The request to send to OpenEdge Architect
piOEAPort INTEGER
The port number of the OpenEdge Architect instance


Constructor Detail
Top

OpenEdgeArchitectHelper ()

Purpose: Disallow instance creation
Notes:



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       10.10.2026 15:35:49