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

Threaded View

  1. #12
    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

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
  •  





Click Here to Expand Forum to Full Width

Featured