 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Morosh Guest
|
Posted: Tue Sep 05, 2006 7:51 pm Post subject: dialing a phone number |
|
|
Hello:
I like to dial a phone number in C++, is it possible??
thanks
Maurice |
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Tue Sep 05, 2006 9:10 pm Post subject: Re: dialing a phone number |
|
|
Morosh wrote:
| Quote: | I like to dial a phone number in C++, is it possible??
|
Yes, in any language that supports the Windows API.
Look at the topics and functions that start with RAS or Ras
b.p.cppbuilder.nativeapi is the proper group for discussing those
functions.
I would suggest Googling that group for RAS to find pointers.
Google 'borland nativeapi ras'
http://groups.google.com/groups?q=borland%20nativeapi%20ras |
|
| Back to top |
|
 |
Frederico Pissarra Guest
|
Posted: Thu Sep 14, 2006 1:47 am Post subject: Re: dialing a phone number |
|
|
"Bob Gonder" <notbg (AT) notmindspring (DOT) invalid> escreveu na mensagem
news:4u7rf2hrs8qne1n1jniqn0e4vh6bgagte2 (AT) 4ax (DOT) com...
| Quote: | Morosh wrote:
I like to dial a phone number in C++, is it possible??
Yes, in any language that supports the Windows API.
Look at the topics and functions that start with RAS or Ras
b.p.cppbuilder.nativeapi is the proper group for discussing those
functions.
I would suggest Googling that group for RAS to find pointers.
|
To dial a number using an asynchronous modem you'll not need to use RAS or
TAPI (Telephony API).... just open the COM port (using CreateFile() Win32
API function), use the communication functions to configure the COM port and
use WriteFile() function to send the apropriate AT string:
ATDTyournumberhere<CR>
Read the modem status code and close the file handle...
This isn't as hardcore as it sounds... but, of course, you can use some
high level API and make things a lot difficult.... :)
[]s
Fred |
|
| Back to top |
|
 |
Frederico Pissarra Guest
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|