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

    Serial port and Win NT

    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
    Mar 2001
    Location
    pakistan
    Posts
    2

    Re: Serial port and Win NT

    hi,
    its not actually reply to your question.
    I need help from can u cuz i m also in problem to read and write COM ports
    plz reply if ucan help i m working in turboc2

    thanks
    S kulsoom fatima
    paksitan



  3. #3
    Join Date
    Oct 2000
    Location
    India
    Posts
    4,620

    Re: Serial port and Win NT

    Hi,

    1) Did you check if some other software has already opened the port ? If YES, then close it and then run your program . It should work.

    2) Is it the same PC ? If YES, then Use some other testing software to test if the port is OK and working.

    3) If the above 2 fail, let me know about it.

    [b]Let me know if that helped.
    Visit http://www.geocities.com/contactgirish/homepage.html for some VC++ Links & Notes.If you have time, you can sign the guest book there.
    Regards,
    V.Girish
    All luck and have a great day.

    Regards,
    V.Girish

    Visit www.geocities.com/contactgirish for Source code, Tutorials, FAQs and Downloads.

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