bcbpablo
Programmer
- Sep 27, 2007
- 2
Hi all, new member having a strange issue with BCB5.
I have an application that acquires data from an instrument. A request is put on a command queue and picked up by a processing timer. The data is acquired on this timer thread.
Meanwhile another app is calling a COM method to check the status of the data acquisition. What I am finding however is that the COM call is not being processed until the data acquisition is finished.
During the acquisition there is a wait loop with a call to Application->ProcessMessages and a sleep of 100ms. The entire acquisition takes around 5 seconds.
Is there any way I can force the COM interface to be processed? Something similar to the ProcessMessages command?
Any thoughts appreciated.
-Paul
I have an application that acquires data from an instrument. A request is put on a command queue and picked up by a processing timer. The data is acquired on this timer thread.
Meanwhile another app is calling a COM method to check the status of the data acquisition. What I am finding however is that the COM call is not being processed until the data acquisition is finished.
During the acquisition there is a wait loop with a call to Application->ProcessMessages and a sleep of 100ms. The entire acquisition takes around 5 seconds.
Is there any way I can force the COM interface to be processed? Something similar to the ProcessMessages command?
Any thoughts appreciated.
-Paul