luben111
Advanced Member level 1
Hi,
I have an application written in Delphi 2010 - with one thread. The thread is fetching data from a HID device and then it's sending a message WM_NEW_DATA_ARRIVED (WM_USER + 1) to the main form via PostMessage() to display the results.
I found that if the sytem is busy the message delays and decreases the performance of the program.
My question is - is there a way to increase the priorty of my Windows message WM_NEW_DATA_ARRIVED so when I call PostMessage the data processing in main form can start ASAP.
Thank you
I have an application written in Delphi 2010 - with one thread. The thread is fetching data from a HID device and then it's sending a message WM_NEW_DATA_ARRIVED (WM_USER + 1) to the main form via PostMessage() to display the results.
I found that if the sytem is busy the message delays and decreases the performance of the program.
My question is - is there a way to increase the priorty of my Windows message WM_NEW_DATA_ARRIVED so when I call PostMessage the data processing in main form can start ASAP.
Thank you