TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ALL
from: ALEX TRUBIN
date: 1997-12-24 03:08:00
subject: Telephony

ÖÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÿ       Hello, All! ÿÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ-Ä Ä Äúú
    So. I try to create a terminal program with D2 in W'95 :)
And I have a some questions:
1. The TAPi32.DLL have two sets of functions: phone... and line... ;
   What's the difference?
2. I find some functions in WiN32.HLP and try to declare them as follow:
=== Begin WIINMDM.TXT ===
unit My_Utils;
interface
uses  Windows,
      Dialogs;  // delete it  >:-E
Type
  LONG = Integer;
  LPHLINEAPP = Pointer;
>  lpfn = procedure(v1,v2,v3,v4,v5,v6:DWORD);
>  LINECALLBACK  = ^lpfn;
 procedure ReadCurrentConfig;
 procedure CheckModemStatus(Z:HWND);
 function lineConfigDialog (dwDeviceID:DWORD;
          hwndOwner:HWND;
          lpszDeviceClass:LPCSTR):LONG;
          stdcall; external 'TAPI32';
 function lineInitialize (lphLineApp:LPHLINEAPP;
          hInstance:Longint;
>          lpfnCallback:LINECALLBACK ;
          lpszAppName:LPCSTR;
          lpdwNumDevs:LPDWORD):LONG;
          stdcall; external 'TAPI32';
 //VOID FAR PASCAL
{ function lineCallbackFunc( hDevice, dwMsg,
     dwCallbackInstance, dwParam1, dwParam2,
     dwParam3:DWORD):LINECALLBACK;
}
=== End WIINMDM.TXT ===
2.5   It's right?
2.6   It's will be working?
2.7   lpfnCallBack --  for what this function? I read a WiN32.HLP and has not 
understood?
3. Please write to me working (operating) variant of the D2-code, which I can 
use for working with modem. Basicaly operations; not more.
Thank you!
ÓÄÄú With best regards úÄÍÍÍÍÍÍÍÍÍÄÄúúÄÄÄúúÄÍÍÍÍÍÍÍÍÍÍÄú Alex.ÄÄÄ--ú
* Crossposted in all available echos...    :)
---
---------------
* Origin: Orbital station (2:5030/620.12)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.