|
|
|
Re: path to the used dll [message #599226 is a reply to message #599135] |
Wed, 23 October 2013 02:12 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/6445e5e31c6f2e8aada210db72840146?s=64&d=mm&r=g) |
Gek2ora
Messages: 9 Registered: October 2013
|
Junior Member |
|
|
tried
client_win_api_environment.Get_Environment_string('PATH')
Interesting results in the form of
answer = C:\PROGRA~1\Java\jre6\bin;C:\Program Files\Internet Explorer;;%MY_PATH%;.
!!!
shows that the %USERPROFILE%\webutil\ is not recorded
where the error in the settings?
help
you what result? can check? There is a way to <install.syslib.location.client.0=webutil\> %USERPROFILE%\webutil\
[Updated on: Wed, 23 October 2013 02:39] Report message to a moderator
|
|
|
|
|
|
|
|
Re: path to the used dll [message #599404 is a reply to message #599363] |
Thu, 24 October 2013 04:12 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](//www.gravatar.com/avatar/6445e5e31c6f2e8aada210db72840146?s=64&d=mm&r=g) |
Gek2ora
Messages: 9 Registered: October 2013
|
Junior Member |
|
|
Thank you for your participation
I'm sorry, I can not understand
to Get_Environment_string, Read_Registry I have no issues
tried to implement a temporary solution
set PATH for the current session
DECLARE
args Webutil_c_api.ParameterList;
par1 Webutil_c_api.ParameterHandle;
par2 Webutil_c_api.ParameterHandle;
rc pls_integer := -1;
loc VARCHAR2(255);
pth VARCHAR2(32767);
nme varchar2(255) := 'PATH';
BEGIN
loc := webutil_clientinfo.get_system_property('user.home') || '\' ||
WEBUTIL_CORE.ReadFromPropertyBundle('install.syslib.location.client.0') || ';';
pth := client_win_api_environment.Get_Environment_string('PATH');
pth := loc || pth;
args := WEBUTIL_C_API.create_parameter_list;
par1 := WEBUTIL_C_API.add_parameter(args, WEBUTIL_C_API.C_CHAR_PTR, WEBUTIL_C_API.PARAM_IN, nme, length(nme));
par2 := WEBUTIL_C_API.add_parameter(args, WEBUTIL_C_API.C_CHAR_PTR, WEBUTIL_C_API.PARAM_IN, pth, length(pth));
rc := WEBUTIL_C_API.Invoke_Int('KERNEL32.DLL', 'SetEnvironmentVariableA', args);
message (rc);
WEBUTIL_C_API.Destroy_Parameter_List(args);
:display_item12 := client_win_api_environment.Get_Environment_string(nme);
END;
but again the problem. SetEnvironmentVariableA destroys java
|
|
|
|
|