CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    Unhappy serial programming: OpenComm and etc.,

    Hello, there:

    I am now doing the serial port communication programming. I have some sample code which uses the OpenComm, ReadComm, WriteComm and CloseComm routine. According to MSDN, they are now retired under Win NT and other platform.

    My questions are:

    1. What platforms are still avaiable for these routines? Win3.1, yes, Linux?

    2. What are the alternatives for them under WinNT/2000/XP...?

    3. The programs will be ported to the microcontroller eventually, are they still avaiable?

    BTW, I'm not supposed to use C++ class.

    Any answer to any of the above questions is highly appreciated.

    yours,
    Sway

  2. #2
    Join Date
    Mar 2002
    Location
    St. Petersburg, Florida, USA
    Posts
    12,125
    I posted complete sample code (easily made non-Object oriented), uses no controls or existing c++ classes.

    One should alway look before one asks......
    TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
    2008, 2009,2010
    In theory, there is no difference between theory and practice; in practice there is.

    * Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions
    * How NOT to post a question here
    * Of course you read this carefully before you posted
    * Need homework help? Read this first

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured