amrit_shirodkar
16th October 2008, 08:22
Hello,

I am getting a fatal error when I use exec_dll_function(). Here is how I have called it.

long return.value
return.value = exec_dll_function("tsextdllgen",
"confirm.picked.lines",
confirm,
whinh.oorg.service,
whext220.orno,
whext220.acln,
tssoc200.cwoc)

I have called this through a form command.
The attached file has the fatal error screenshot

Can anyone please tell me the cause ? Also in the above statement is it necessary that "tsextdllgen" be present in the Libraries of that program script ?

JaapJD
16th October 2008, 08:50
You have to put an "o" in front of the DLL name:

return.value = exec_dll_function("otsextdllgen",

See also the example given in the programmers manual for the parse_and_exec_function function.

amrit_shirodkar
16th October 2008, 09:38
You have to put an "o" in front of the DLL name:

return.value = exec_dll_function("otsextdllgen",

See also the example given in the programmers manual for the parse_and_exec_function function.

Thanks JaapJD :-)