Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!UCONNVM.BITNET!STEIN From: STEIN@UCONNVM.BITNET (Alan Stein) Newsgroups: comp.sys.apple2 Subject: Dialing through Modem Message-ID: <9102122155.AA23059@apple.com> Date: 12 Feb 91 17:25:19 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 30 The following program, written in Orca/C, was supposed to dial a phone through my modem, but just printed "+++atdp18009991234" on my screen. What do I need to do to dial through my modem? #pragma keep "test" #include #include #include #include #include main () { DeviceRec olddevicerec; long modemslot=2; olddevicerec = GetOutputDevice (); SetOutputDevice (basicType,modemslot); WriteCString ("+++atdp18009991234"); SetOutputDevice (olddevicerec); } __________________________________________________________ | | | Alan H. Stein | stein@uconnvm.bitnet | | Department of Mathematics | | | University of Connecticut | Compu$erve 71545,1500 | | 32 Hillside Avenue | GEnie ah.stein | | Waterbury, CT 06710 | SNET (203) 757-1231 | |__________________________________________________________|