Found the following snippet of code in the help file of a
vendor's product. I tried it and it works very well under
Windows 9X. However, my application still appears to run
the CPU to 100% under NT. Some folks who use my software use
NT thin clients - the CPU timing utilization resulting from my
software brings their network to its knees. I asked the vendor
for support (since they had included the solution in their help
file) they said, "sorry - this is a PB question" - which is
true.
Know of an NT solution?
IF INSTAT THEN
'handle user keystroke here
ELSEIF ISTRUE BIT(pbvHost,8%) THEN
'Windows is being used, so
'give up a time slice...
asm push DS
asm mov AX, &H1680
asm int &H2F
asm pop DS
END IF
------------------
Greg H.
vendor's product. I tried it and it works very well under
Windows 9X. However, my application still appears to run
the CPU to 100% under NT. Some folks who use my software use
NT thin clients - the CPU timing utilization resulting from my
software brings their network to its knees. I asked the vendor
for support (since they had included the solution in their help
file) they said, "sorry - this is a PB question" - which is
true.
Know of an NT solution?
IF INSTAT THEN
'handle user keystroke here
ELSEIF ISTRUE BIT(pbvHost,8%) THEN
'Windows is being used, so
'give up a time slice...
asm push DS
asm mov AX, &H1680
asm int &H2F
asm pop DS
END IF
------------------
Greg H.
Comment