Click here to Skip to main content
15,911,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Is there any way of finding a string's width on the screen? (non-MFC) Pin
_Magnus_13-Jun-02 6:12
_Magnus_13-Jun-02 6:12 
GeneralRe: Is there any way of finding a string's width on the screen? (non-MFC) Pin
redeemer13-Jun-02 6:27
redeemer13-Jun-02 6:27 
GeneralRe: Is there any way of finding a string's width on the screen? (non-MFC) Pin
Chris Losinger13-Jun-02 7:07
professionalChris Losinger13-Jun-02 7:07 
GeneralFatal Error Pin
Sidney13-Jun-02 5:42
Sidney13-Jun-02 5:42 
GeneralRe: Fatal Error Pin
Le centriste13-Jun-02 5:50
Le centriste13-Jun-02 5:50 
GeneralRe: Fatal Error Pin
Sidney13-Jun-02 7:02
Sidney13-Jun-02 7:02 
GeneralRe: Fatal Error Pin
srinivas vaithianathan13-Jun-02 8:14
srinivas vaithianathan13-Jun-02 8:14 
GeneralSerial Comms Pin
Derek Lakin13-Jun-02 5:06
Derek Lakin13-Jun-02 5:06 
Having established a serial comms connection to COM 1 to access a modem it is possible to send AT command strings for the modem to interpret. In this way I can instruct a modem to dial a particular number and connect to a receiving modem and application.

Once the connection has been made the modem goes into online mode and so any data then sent to the COM port is then sent over the connection to the receiving modem and application. If I want to end the call from the initiating end, presumably I can just call CloseHandle on the handle created with the initial call to CreateFile and that will end the call.

However, from the receiving end, I would need to return the modem to command mode to issue the ATH command to terminate the call. Orinarily you would issue the escape sequence "+++" to get the modem into command mode. However, if I send "+++" to an open serial port it will just send that data over the connection Frown | :(

How can I get a modem back into command mode? Or am I going about it the wrong way?

I have already tried TAPI, unsuccessfully (see earlier posts), hence my attempt to use serial port comms.

Derek Lakin.
I wish I was what I thought I was when I wished I was what I am.

Salamander Software Ltd.
GeneralRe: Serial Comms Pin
Joaquín M López Muñoz13-Jun-02 7:05
Joaquín M López Muñoz13-Jun-02 7:05 
GeneralRe: Serial Comms Pin
Derek Lakin13-Jun-02 7:55
Derek Lakin13-Jun-02 7:55 
GeneralRe: Serial Comms Pin
Joaquín M López Muñoz13-Jun-02 12:14
Joaquín M López Muñoz13-Jun-02 12:14 
GeneralRe: Serial Comms Pin
JohnnyG13-Jun-02 9:09
JohnnyG13-Jun-02 9:09 
GeneralRe: Serial Comms Pin
Derek Lakin13-Jun-02 9:21
Derek Lakin13-Jun-02 9:21 
GeneralRe: Serial Comms Pin
Ravi Sudhakar13-Jun-02 22:54
Ravi Sudhakar13-Jun-02 22:54 
Generalassociate data with tree item's Pin
Steve L.13-Jun-02 4:22
Steve L.13-Jun-02 4:22 
GeneralRe: associate data with tree item's Pin
Chris Losinger13-Jun-02 4:26
professionalChris Losinger13-Jun-02 4:26 
GeneralRe: associate data with tree item's Pin
Steve L.13-Jun-02 5:07
Steve L.13-Jun-02 5:07 
GeneralRe: associate data with tree item's Pin
Chris Losinger13-Jun-02 5:40
professionalChris Losinger13-Jun-02 5:40 
GeneralRe: associate data with tree item's Pin
MightyThor15-Jul-02 9:25
MightyThor15-Jul-02 9:25 
GeneralRe: associate data with tree item's Pin
Chris Losinger15-Jul-02 10:19
professionalChris Losinger15-Jul-02 10:19 
GeneralWhere is BIF_USENEWUI defined? MSDN says i can use it but VC says unknown identifier. Pin
redeemer13-Jun-02 2:50
redeemer13-Jun-02 2:50 
GeneralRe: Where is BIF_USENEWUI defined? MSDN says i can use it but VC says unknown identifier. Pin
Rama Krishna Vavilala13-Jun-02 3:06
Rama Krishna Vavilala13-Jun-02 3:06 
GeneralRe: Where is BIF_USENEWUI defined? MSDN says i can use it but VC says unknown identifier. Pin
redeemer13-Jun-02 3:43
redeemer13-Jun-02 3:43 
GeneralRe: Where is BIF_USENEWUI defined? MSDN says i can use it but VC says unknown identifier. Pin
Rama Krishna Vavilala13-Jun-02 3:52
Rama Krishna Vavilala13-Jun-02 3:52 
GeneralRe: Where is BIF_USENEWUI defined? MSDN says i can use it but VC says unknown identifier. Pin
redeemer13-Jun-02 3:58
redeemer13-Jun-02 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.