UROUTMON->GET_CLIENTS
Author: thomas.young@young-consulting.de (Thomas.Young)
Hi all,
for a day now I am trying to get a from runing, which use the urouter-monitor API.
So I painted a farst form, define the URCLIENTS entity and draw it on the form.
In the operation Trigger, I coded follow lines:
newinstance "UROUTMON", hURoutMon
hURoutMon->CONNECT(p_sRouter, "TCP", "13001")
#include TMS:WFLOW_ERROR
;activate "UROUTMON".GET_CLIENTS(sUsing, sHost, sUser, sUst, URCLIENTS.UROUTMON)
;activate "UROUTMON".GET_CLIENTS("C", "", "TY", "", "URCLIENTS")
;hURoutMon->GET_CLIENTS("C", , , "VX7_MAIN", "URCLIENTS")
;hURoutMon->GET_CLIENTS("C", "", "", "", URCLIENTS.UROUTMON)
hURoutMon->GET_CLIENTS("C", "", "", "", "URCLIENTS.UROUTMON")
When I used URCLIENTS in quotes the dll hangs. When I used it without quotes I got back $status greater then null, but of course no occurence.
The API use an entity parameter, but I am not sure if the documentation has the correct definition.
The URMON.exe is working well, but I can't debug it.
So the question is, if someone has solved this problem in U9 (U9302 P206 or U9301 P104)? Do I have missed something?
Best regards
Thomas
P.S. Connect is working okay and I can see the connection in URMON,
Neither TRC nor LOG-File give any hint.