Selib.dynamicLink in eScript

(Doc ID 533797.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel Tools - Version 7.5.2 [16007] and later
z*OBSOLETE: Microsoft Windows 2000
Product Release: V7 (Enterprise)
Version: 7.5.2 [16007]
Database: Oracle 7.1
Application Server OS: Microsoft Windows 2000 Server
Database Server OS: Microsoft Windows 2000 Server

This document was previously published as Siebel SR 38-1031045861.

""Checked for Relevance on 04-Dec-2014""


We have problems using the SElib.dynamicLink() Method. We have to read some entries from the web client registry. We added the following code line in the function "Applet_PreInvokeMethod":

function Applet_PreInvokeMethod (name, inputPropSet)
// some other coding ...
var lResult = Selib.dynamicLink("ADVAPI32", "RegOpenKeyExA", "STDCALL, "HKEY_CURRENT_USER", "NULL", 0, "KEY_READ", lResult);
alert("An error has occured in the Applet_PreInvokeMethod, Error: " +e.toString() );

When we are running the application the error displayed by the alert function is "[object Error]"!

What is the reason for this error ? For me it looks like that the Selib.dynamicLink Method is not available to the application ?.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms