Hi to all,
How can I make a TAPI Connection from Workbench 3.1?
following code does not work, I get an error 173 "Called programm not found".
what did I wrong?
identification division.
program-id. pmodem.
environment division.
configuration section.
source-computer. pc.
object-computer. pc.
special-names.
decimal-point is comma,
* call-convention 74 is WinApi. so gehts in * Netexpress 3.1
* call-convention 11 is WinApi.
call-convention 3 is WinApi.
*
working-storage section.
01 PP usage Procedure-Pointer.
01 rc-code pic 9(8) comp-5.
01 telnr pic x(30).
*
procedure division.
*
st-0.
move x"3437313100" to telnr.
set pp to entry "tapi.dll".
call WinApi "tapiRequestMakeCall"
using by reference telnr
by reference x"00"
by reference x"00"
by reference x"00"
returning rc-code.
st-stop.
stop run.
Does anyone have a sample woth correct code?
Thank for any tips
best regards
Stefan Bockelmann
How can I make a TAPI Connection from Workbench 3.1?
following code does not work, I get an error 173 "Called programm not found".
what did I wrong?
identification division.
program-id. pmodem.
environment division.
configuration section.
source-computer. pc.
object-computer. pc.
special-names.
decimal-point is comma,
* call-convention 74 is WinApi. so gehts in * Netexpress 3.1
* call-convention 11 is WinApi.
call-convention 3 is WinApi.
*
working-storage section.
01 PP usage Procedure-Pointer.
01 rc-code pic 9(8) comp-5.
01 telnr pic x(30).
*
procedure division.
*
st-0.
move x"3437313100" to telnr.
set pp to entry "tapi.dll".
call WinApi "tapiRequestMakeCall"
using by reference telnr
by reference x"00"
by reference x"00"
by reference x"00"
returning rc-code.
st-stop.
stop run.
Does anyone have a sample woth correct code?
Thank for any tips
best regards
Stefan Bockelmann