Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 149209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:05:39+00:00 2026-05-11T09:05:39+00:00

I understand that in .NET, one needs to use Control.Invoke(delegate) to perform operations on

  • 0

I understand that in .NET, one needs to use Control.Invoke(delegate) to perform operations on a control. This lead me to wondering in which environments Invoke is actually required. As far as i know, it was not required in older versions of, say, Visual Basic and Pascal. In particular, what is the status of Java (possibly version-dependent?) and ‘old style’ windows GUI programming (manually reading the message queue)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:05:40+00:00Added an answer on May 11, 2026 at 9:05 am

    In most languages Invoke for GUI operations is necessary. In Java there is SwingUtilities.invokeLater. Actually a method like that would be necessary in any environment if more than one threads are used. The reason is that the main UI thread runs an event notification mechanism. A second thread to be able to interact with this mechanism needs somehow to be synchronized with it.

    These invoke methods are actually a convenience for the developer. In platforms that do not exist, it doesn’t mean that is allowed to access UI items from a different thread. It may just means that the developer should implement a custom mechanism (sending events) to do so. UI code is very rarely thread safe. I have worked with many platforms and technologies and I am always following this rule: touch the UI from a single thread only.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I thought I understood ViewState, but this is a bit of a weird one.
Assume that we have a network deployed desktop application written in .NET. We don't
So this is a pretty dumb question, and one I am clearly misunderstanding for
I have a question with reference to this tutorial http://rox-xmlrpc.sourceforge.net/niotut/ In the read method
Does anyone know of any jQuery plugins that can achieve the scrolling effect like
I'm looking into new languages, kind of craving for one where I no longer
Using ASP.Net Forms and ASP.Net MVC 3 (combined - we are in process of
I'm having trouble wrapping my head around .NET DataTable events, handling, actions, etc. I
Solved the problem see the bottom of my post. So I have a simple
We're trying to run a set of administrative tasks on the server via a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.