Click here to Skip to main content
16,005,473 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Array of numbers from C++ to VB Pin
David Crow23-Oct-03 9:39
David Crow23-Oct-03 9:39 
GeneralCDHtmlDialog in vs .net 2003 Pin
Wade H.2-May-03 9:05
Wade H.2-May-03 9:05 
GeneralRe: CDHtmlDialog in vs .net 2003 Pin
Wade H.3-May-03 9:15
Wade H.3-May-03 9:15 
GeneralModem AT commands Pin
Anonymous2-May-03 8:50
Anonymous2-May-03 8:50 
GeneralRe: Modem AT commands Pin
David Crow2-May-03 9:34
David Crow2-May-03 9:34 
GeneralRe: Modem AT commands Pin
Anonymous2-May-03 10:03
Anonymous2-May-03 10:03 
GeneralRe: Modem AT commands Pin
David Crow2-May-03 10:17
David Crow2-May-03 10:17 
GeneralRe: Modem AT commands Pin
John R. Shaw2-May-03 16:35
John R. Shaw2-May-03 16:35 
Mad | :mad: Sorry my hands are shaking after reading the replies you have already recieved.

Read up on TAPI (Telephony API) in the MSDN Library (the best way to hanle modems).

If you are writing your onwn code to access the modem (Not recommend - but I had to do it for Win31 [and port to Win32 still uses it]) via a comport then read up on how to open a comport via CreateFile() in the MSDN Libaray. Once you have an open open comport handle then you can use WriteFile() to send the AT commands (text commands) with WriteFile(), just like you would if you were writing to a file.

As for _outp() and _outw() those are used to access hardware ports (very low level), not for accessing a modem. You can not even use these function to access hardware for you program under WinNT/Win200/WinXP, unless you are using a driver like UserPort.sys (freeware-on the net). Normaly only a system kernal-mode driver can access hardware ports under those systems.

Trust in the code Luke. Yea right!
GeneralRe: Modem AT commands Pin
John R. Shaw2-May-03 16:45
John R. Shaw2-May-03 16:45 
GeneralRe: Modem AT commands Pin
Chintan2-May-03 18:23
Chintan2-May-03 18:23 
GeneralRe: Modem AT commands Pin
Anonymous3-May-03 2:10
Anonymous3-May-03 2:10 
GeneralRe: Modem AT commands Pin
John R. Shaw3-May-03 9:25
John R. Shaw3-May-03 9:25 
GeneralRe: Modem AT commands Pin
Chintan5-May-03 4:30
Chintan5-May-03 4:30 
GeneralListCtrl Pin
schoni2-May-03 8:46
schoni2-May-03 8:46 
GeneralRe: ListCtrl Pin
David Crow2-May-03 9:32
David Crow2-May-03 9:32 
GeneralCHeaderCtrl in a View Pin
schoni2-May-03 8:27
schoni2-May-03 8:27 
GeneralRe: CHeaderCtrl in a View Pin
David Crow2-May-03 9:29
David Crow2-May-03 9:29 
GeneralRe: CHeaderCtrl in a View Pin
Michael Dunn2-May-03 16:39
sitebuilderMichael Dunn2-May-03 16:39 
GeneralVC++ stream floating point precision error Pin
Val Samko2-May-03 8:18
Val Samko2-May-03 8:18 
GeneralRe: VC++ stream floating point precision error Pin
Joseph Dempsey2-May-03 8:28
Joseph Dempsey2-May-03 8:28 
GeneralRe: VC++ stream floating point precision error Pin
Val Samko2-May-03 8:38
Val Samko2-May-03 8:38 
GeneralRe: VC++ stream floating point precision error Pin
David Crow2-May-03 9:27
David Crow2-May-03 9:27 
GeneralRe: VC++ stream floating point precision error Pin
Val Samko2-May-03 10:01
Val Samko2-May-03 10:01 
GeneralRe: VC++ stream floating point precision error Pin
David Crow2-May-03 10:15
David Crow2-May-03 10:15 
GeneralRe: VC++ stream floating point precision error Pin
Tim Smith2-May-03 10:25
Tim Smith2-May-03 10:25 

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.