CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Indore India
    Posts
    34

    Serial port and VC++

    i made a software in VC++ (compiled it on win 95)
    it accesses the serial port(through standard "ReadFile & WriteFile" commands)
    and transmits data onto some hardware connected to the PC, through the serial port. when i tried to run the executable on win NT, it said that it can't access the port.
    i even tried to run the executable from the administrator's account, just to make sure that you don't need administrative priveliges to access the port.
    but it failed even there.
    how do i fix this problem?

    thanks in advance.


  2. #2
    Join Date
    May 1999
    Posts
    2

    Re: Serial port and VC++

    maybe, you just solved the problem, but here's one possible reason:

    Even if you don't use XON/XOFF protocol, you have to setup reasonable buffer lengths for XON/XOFF under NT, under '95 you don`t have any problems.


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