View Single Post
Old 4th October 2011, 05:14   #4
Major Dude
T.Slappy's Avatar
Join Date: Jan 2006
Location: Slovakia
Posts: 555
Send a message via ICQ to T.Slappy
I think problem is in NSW. I did not looked into sources but if it is similar to nsDialogs all components [also the timer] are created in one thread = GUI thread which is bad.

Originally Posted by hphantom View Post
How can I find what thread/process the code is running in so I don't overlap them?
Normally when you start new thread you get its ID so every thread is unique. try using this ID to recognize correct thread.
Use my ThreadTimer plugin as reference:

By the way I am developing new plug-in specially with this purpose - it creates new separated thread which shows window with Please wait... message and gif animation

Cool looking installers with custom design:
Create Setup Pages easily:
Build installers in Visual Studio 2005-2019:
or RAD Studio 2009, 2010, XE-10.4 Sydney:
T.Slappy is offline   Reply With Quote