Menu

how to manage a serial com port using C ?

2002-11-26
2012-09-26
  • Nobody/Anonymous

    how can i program the serial com (1 or 2) port using C mingw (Win32/NT) compiler ?

    thanks.

     
    • Nobody/Anonymous

      Lookup CreateFile() in the win32 API. Accessing ports directly is forbidden I believe.

      Kip

       
    • Nobody/Anonymous

      The best solution to access ports directly is to write a kernel driver. There are some drivers what do this like
      http://www.geekhideout.com/iodll.shtml
      but do it at your own risk!!!!

      tkorrovi

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.