Serial comm W32 using CreateFile

This is a discussion on Serial comm W32 using CreateFile within the Windows Programming forums, part of the Platform Specific Boards category; Hi all I am very new to C++. I am converting a 16-bit C++ (MSVC++ 1.5) application to 32 bit ...

  1. #1
    Registered User
    Join Date
    Jun 2003
    Posts
    4

    Serial comm W32 using CreateFile

    Hi all

    I am very new to C++. I am converting a 16-bit C++ (MSVC++ 1.5) application to 32 bit (MSVC++ 6.0).

    I need to replace all deleted programming elements.
    The application communicates with special hardware across the serial COM port. The OpenComm function call is deleted in the 32 bit API and I need to use CreateFile (MSDN reference )

    I'm not sure what meaning the parameters for CreateFile have in a serial comm setup?
    ( CreateFile API reference )

    Does anybody have an example? Link to explanation? How do I solve this problem??

    Thanks!
    Steffen
    Last edited by Foldager; 06-30-2003 at 03:21 AM.

  2. #2
    Registered User
    Join Date
    Jun 2003
    Posts
    4
    I STFW and found this link that more or less explains it all:
    MSDN About Comm Resources

    /Steffen

  3. #3
    Registered User
    Join Date
    Jun 2003
    Posts
    70
    Chintan R Naik

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Lame null append cause buffer to crash
    By cmoo in forum C Programming
    Replies: 8
    Last Post: 12-29-2008, 03:27 AM
  2. Serial Comm. through a Comm Port - WinXP to PIC
    By MoonlightKnight in forum Networking/Device Communication
    Replies: 5
    Last Post: 10-14-2006, 10:02 PM
  3. Please help with serial communication problem - Long
    By spdylude in forum Windows Programming
    Replies: 3
    Last Post: 04-06-2005, 10:41 AM
  4. InferRed Serial COMM, cannot write?
    By Xei in forum C++ Programming
    Replies: 3
    Last Post: 01-12-2003, 01:40 PM
  5. DOS, Serial, and Touch Screen
    By jon_nc17 in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 01-08-2003, 04:59 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21