BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

dialing a phone number

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools)
View previous topic :: View next topic  
Author Message
Morosh
Guest





PostPosted: Tue Sep 05, 2006 7:51 pm    Post subject: dialing a phone number Reply with quote



Hello:

I like to dial a phone number in C++, is it possible??
thanks
Maurice
Back to top
Bob Gonder
Guest





PostPosted: Tue Sep 05, 2006 9:10 pm    Post subject: Re: dialing a phone number Reply with quote



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





PostPosted: Thu Sep 14, 2006 1:47 am    Post subject: Re: dialing a phone number Reply with quote



"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





PostPosted: Thu Sep 14, 2006 1:56 am    Post subject: Re: dialing a phone number Reply with quote

"Frederico Pissarra" <me (AT) nowhere (DOT) net> escreveu na mensagem
news:45086e40 (AT) newsgroups (DOT) borland.com...
Quote:
"Bob Gonder" <notbg (AT) notmindspring (DOT) invalid> escreveu na mensagem
news:4u7rf2hrs8qne1n1jniqn0e4vh6bgagte2 (AT) 4ax (DOT) com...
Morosh wrote:

I like to dial a phone number in C++, is it possible??

This isn't as hardcore as it sounds... but, of course, you can use some
high level API and make things a lot difficult.... :)


Ahhh... and you can find more info about Communications Resources at

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/device_i_o.asp

About RAS at:

http://msdn.microsoft.com/library/en-us/rras/rras/ras_start_page.asp

and About Telephony API at:

http://msdn.microsoft.com/library/en-us/tapi/tspi/tapi_service_provider_overview.asp
http://msdn.microsoft.com/library/en-us/tapi/tapi2/tapi_2_2_start_page.asp
and
http://msdn.microsoft.com/library/en-us/tapi/tapi3/tapi_3_1_start_page.asp

The entire PlatformSDK index is at

http://msdn.microsoft.com/library/en-us/sdkintro/sdkintro/contents_of_the_platform_sdk.asp

[]s
Fred
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Command Line Tools) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.