Thread: How can I issue AT commands in VC++ ?

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    3

    Question How can I issue AT commands in VC++ ?

    Hi !

    I want to issue simple AT commands when programming in Visual C++ 6.0 , but don't know how to do it .

    In VB it is simple, since there is the mscomm OCX, which is easy to use.

    Is there a class in VC++ that I can use ?

    Please help,
    Cube

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Assuming you mean Hayes "AT" commands, and assuming you are connected to a regular port, you can get a handle to the port using the CreateFile() API function, then use the "by handle" I/O functions to write anything you like out.

    For more functionality, search google or similar for "TAPI". That is the Intel/MS telephony API.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. float calculation issue
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-26-2008, 04:56 AM
  2. type safe issue
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 02-12-2008, 09:32 PM
  3. Replies: 2
    Last Post: 07-27-2007, 12:48 PM
  4. Possible Issue with Float?
    By nate92488 in forum C Programming
    Replies: 8
    Last Post: 04-25-2007, 12:38 PM
  5. my first issue of GDM
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 09-12-2002, 04:02 PM