How to initialize the Application STA (ASTA)

lb90 1 Reputation point
2022-06-22T18:46:28.01+00:00

Hello,

I'd like to know whether it's possible to initialize the Application STA (ASTA) from classic Win32 applications. The ASTA brings advantage compared to the regular STA such as better handling of re-entrant inbound calls amongst others, as explained by Raymond Chen in
https://devblogs.microsoft.com/oldnewthing/20210224-00/?p=104901

Thank you

Community Center | Not monitored
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 49,641 Reputation points
    2022-06-22T21:42:01.777+00:00

    As far as I can tell the ASTA is specific to UWP apps Take a look at Threading functionality migration

    1 person found this answer helpful.

  2. lb90 1 Reputation point
    2022-07-26T14:28:10.577+00:00
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.