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. Windows Forms
  4. Use of delegates not solving the cross thread problems in .NET 2.0 Framework

Use of delegates not solving the cross thread problems in .NET 2.0 Framework

Scheduled Pinned Locked Moved Windows Forms
helpcsharpquestion
1 Posts 1 Posters 5 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.
  • K Offline
    K Offline
    KKrista
    wrote on last edited by
    #1

    Hi All, I have a windows application that was developed in .NET 1.1 Framework. Recently I migrated the same application into .NET 2.0 Framework to find a number of cross thread operation exceptions being thrown. After some research, I found that Anonymous methods and delegates could solve the issue. Hence, I implemented the same and the application was working fine except a case when the call to the delegate using 'Invoke' causes the application to hang. Use of 'BeginInvoke' instead of 'Invoke' also didnt help me. Anyone faced a similar situation and found a solution? Plz help.

    Thanks in advance, Murali

    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