UnauthorizedAccessException when accessing Virtual COM port - Page 2
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Thread: UnauthorizedAccessException when accessing Virtual COM port

  1. #16
    Join Date
    Mar 2002
    Location
    Portsmouth, UK
    Posts
    119

    Re: UnauthorizedAccessException when accessing Virtual COM port

    Has anyone found a solution for this without going to c++ to access the serial port?
    Thanks

    A

  2. #17
    Join Date
    Jul 2007
    Location
    Illinois
    Posts
    517

    Re: UnauthorizedAccessException when accessing Virtual COM port

    Quote Originally Posted by AlecJames View Post
    Has anyone found a solution for this without going to c++ to access the serial port?
    Thanks

    A
    Nope... even a year later I am still using a wrapper class named ComPort which makes "unsafe" API calls from my C# code to prevent this error from occurring. I wonder why the heck MS hasn't fixed this issue... even in .NET 4.0.
    Last edited by RaleTheBlade; September 30th, 2010 at 12:03 PM.
    R.I.P. 3.5" Floppy Drives
    "I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." - Albert Einstein

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center