Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MF-Workbench & TAPI

Status
Not open for further replies.

Stebo69

Vendor
Jul 23, 2002
2
DE
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
 
Stefan,
This is not really my sphere of expertise so I can't really help. I did look up on the keyword search "winapi" and thread209-258539 seems to have some stuff that may or may not be of interest.
Hope this helps a little.
Marc
 
thanks for your replay, but it doesn't help. I'd read the thread before. This example was with NetExpress 3.0 (32.Bit). My Question was for Workbench 3.1 (16-Bit).

There are some differences in (T)Api-programming.

Thanx anyway.


cu

Stefan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top