Discussion Locked
0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I need to control multithread cls/dll's that are called withing an application. Does any one have an example of code that will work on VP6SP5? (createthread API causes error when executed)
3 replies
In Visual C++ the preferred method for creating a thread is to use AfxBeginThread.
Ideally you would create the thread suspsended (CREATE_SUSPENDED) and start it when all it's data has been properly initialized (e.g. the data associated with an CWinThread-derived class.
There's all sorts of good information on AfxBeginThread (including examples like MT)in the MSDN library included with Visual C++/Studio. As well, http://msdn.microsoft.com/ contains all that information and more.
Poster rated this answer
This question was closed by the author
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
1 helpful
9 replies
0 helpful
3 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies
Discussion Locked
Best Ways to Improve Website Visibility
0 helpful
5 replies