question

Dudu-0391 avatar image
0 Votes"
Dudu-0391 asked ·

What is API managing thread in current version

When I browse documents of Microsoft, I found the API AfxBeginThread has been in previous version category.

What API is alternative to AfxBeginThread to manage thread in current version.

Thanks.

c++
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

GuidoFranzke avatar image
0 Votes"
GuidoFranzke answered ·

Hello,
AfxBeginThread will start a worker thread. There is no alternative in MFC.
Read this for more understanding: difference-between-afxbeginthread-and-createthread

Regards, Guido

· 2 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

But what category the AfxBeginThread belongs to. I only found that it is in category: previous version in MS doc.

Thanks.

0 Votes 0 ·

I don't understand what you mean. The documentation is for all versions. AfxBeginThread still exists in the current version of Visual Studio (VS 2019).
cwinthread-class
AfxBeginThread
Regards, Guido


0 Votes 0 ·