03-02-2010 11:47 AM
Hi,
I have created a com dll in VC++ which uses performance counters/timer of less than a millisecond.
This is helpful when sending a message at a very high speed. (say at 10us or so)
This is done by dll.
When I use CVI to create a user interface, this dll runs at a fixed rate of 1ms.
This slows down the application.
I tried using the same dlls with VC++ host and it performs well.
I need to check the registry setting to see if the useDefaultTimer is set to FALSE or TRUE.
(I am not near the development PC) However, by default it should be FALSE and I didnot fidle with that.
Kinldy post any suggestion you may have.
Thanks!
Solved! Go to Solution.
03-03-2010 12:03 AM
This problem is now resolved for me.
Just made the thread priority highest in the dll.
Thanks if you had though about the answer.