Hello Tobias,
As your procedure doesn't return a row the Fetch is redundant. Try this......
Declare the procedure as a local external function on your transaction object....
subroutine test_proc(string instr, ref string outstr) RPCFUNC ALIAS for "~"admin~".~"test_proc~""
then call it with........
string ls_input, ls_output
ls_input = 'ABC'
ls_output = Space(32)
SQLCA.test_proc(ls_input, ls_output)
messagebox("ls_input",ls_input)
messagebox("ls_output",ls_output)
This does work. I don't think you can use output parameters with a result set, but as I said it's been a long time.
Paul