Skip to content

Commit 38df01b

Browse files
SND\joelleach_cpSND\joelleach_cp
authored andcommitted
ParallelFox: Fixed SetWorkerCount() when running on Terminal Server. Reported by Ian Simcock.
git-svn-id: https://vfpx.svn.codeplex.com/svn/ParallelFox@75163 81e6e737-5a20-4d0f-a97c-cb01297b46e0
1 parent db05b42 commit 38df01b

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

parallelfox.VCT

138 Bytes
Binary file not shown.

parallelfox.vca

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,9 @@ Lparameters lnWorkerCount, lnTerminalServerCount
822822

823823
Debugout Time(0), Program(), lnWorkerCount, lnTerminalServerCount
824824

825+
lnWorkerCount = Evl(lnWorkerCount, 0)
826+
lnTerminalServerCount = Evl(lnTerminalServerCount, 0)
827+
825828
If Bittest(Val(Os(10)), 4) and !Bittest(Val(Os(10)), 8) && Terminal Server with multiple users
826829
This.nWorkerCount = Max(Round(lnTerminalServerCount, 0), 1)
827830
Else

parallelfox.vcx

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)