Hello Geetha,
There are many things that you can try in an effort to make you program more responsive. First, you could wait until your program running on NT is acting unresponsive and break execution (press Ctrl-F12 or the Stop Sign on the toolbar). Then look at which callback your main user interface (UI) thread is stuck in. Consider putting ProcessSystemEvents into this slow callback and any other slow or lengthy UI callbacks, especially inside loops within callbacks. You could also try setting the sleep policy with SetSleepPolicy() to VAL_SLEEP_SOME or VAL_SLEEP_NONE, but this will cause the UI thread to consume additional CPU time. Also, are you setting increased priorities for the threads you create (and not the main UI thread)? If so, they might be stealing th
e UIs time. Finally, consider that release executables often run much faster than when you are debugging.
Jeremiah Cox
Applications Engineer
National Instruments
http://www.ni.com/ask