Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. MultiThreading Error in C#

MultiThreading Error in C#

Scheduled Pinned Locked Moved C#
csharphelpvisual-studiosysadminjson
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Ollie1986
    wrote on last edited by
    #1

    Hey When I run my application on windows 2000 I get this exception. But I can't even catch the error! It's something in windows (don't know). The strange thing is that I can run the application perfect on a windows XP computer... And when I remove all my threads from my application it works fine to :doh: My application has 1 thread for the GUI and on for the domain (I just start a threadpoll in my panel which calls my facade to do something). On windows XP it works but not on the rest :( Thx for the help! &Collecting interfaces... Error processing .Ink File.System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) at InterfaceCollector.domain.DAL.IShellLinkA.GetPath( StringBuilder pszFile, Int32 cchMaxPath, WIN32_FIND_DATAA& pfd, SLGP_FLAGS fFlags) at InterfaceCollector.domain.DAL.ShellShortcut.get_Pa th() in C:\Documents and Settings\AWYDZ\My Documents\Visual Studio 2005\Projects\Data Collector II\Data Collector II\domain\DAL\MainFlow\ShellShortcut.cs:line 80 at InterfaceCollector.domain.DAL.WindowsSystemScan.pr ocessInk(FileInfo nextFile) in C:\Documents and Settings\AWYDZ\My Documents\Visual Studio 2005\Projects\Data Collector II\Data Collector II\domain\DAL\MainFlow\WindowsSystemScan.cs:line 172 &Collecting interfaces...

    E 1 Reply Last reply
    0
    • O Ollie1986

      Hey When I run my application on windows 2000 I get this exception. But I can't even catch the error! It's something in windows (don't know). The strange thing is that I can run the application perfect on a windows XP computer... And when I remove all my threads from my application it works fine to :doh: My application has 1 thread for the GUI and on for the domain (I just start a threadpoll in my panel which calls my facade to do something). On windows XP it works but not on the rest :( Thx for the help! &Collecting interfaces... Error processing .Ink File.System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) at InterfaceCollector.domain.DAL.IShellLinkA.GetPath( StringBuilder pszFile, Int32 cchMaxPath, WIN32_FIND_DATAA& pfd, SLGP_FLAGS fFlags) at InterfaceCollector.domain.DAL.ShellShortcut.get_Pa th() in C:\Documents and Settings\AWYDZ\My Documents\Visual Studio 2005\Projects\Data Collector II\Data Collector II\domain\DAL\MainFlow\ShellShortcut.cs:line 80 at InterfaceCollector.domain.DAL.WindowsSystemScan.pr ocessInk(FileInfo nextFile) in C:\Documents and Settings\AWYDZ\My Documents\Visual Studio 2005\Projects\Data Collector II\Data Collector II\domain\DAL\MainFlow\WindowsSystemScan.cs:line 172 &Collecting interfaces...

      E Offline
      E Offline
      Ennis Ray Lynch Jr
      wrote on last edited by
      #2

      That is usually either a hardware error or a pointer error. With C# I doubt you are reading past a pointers allowed area.


      File Not Found

      O 1 Reply Last reply
      0
      • E Ennis Ray Lynch Jr

        That is usually either a hardware error or a pointer error. With C# I doubt you are reading past a pointers allowed area.


        File Not Found

        O Offline
        O Offline
        Ollie1986
        wrote on last edited by
        #3

        It's on all the 4 windows 2000 PC's I tested gtz

        E 1 Reply Last reply
        0
        • O Ollie1986

          It's on all the 4 windows 2000 PC's I tested gtz

          E Offline
          E Offline
          Ennis Ray Lynch Jr
          wrote on last edited by
          #4

          System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt is what I am going on. When I write c++ code I get this error from writing to memory I don't have access to (oops). So since you are using a COM component there could likely be differences across the OS version. Beyond that I will keep my mouth shut because I don't have any other ideas.


          File Not Found

          O 1 Reply Last reply
          0
          • E Ennis Ray Lynch Jr

            System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt is what I am going on. When I write c++ code I get this error from writing to memory I don't have access to (oops). So since you are using a COM component there could likely be differences across the OS version. Beyond that I will keep my mouth shut because I don't have any other ideas.


            File Not Found

            O Offline
            O Offline
            Ollie1986
            wrote on last edited by
            #5

            And how Can I lose this dependency? thx

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups