开发者

VB.NET - Dimming an array of processes

Trying to dim a certain amount of process (determined by Environment.ProcessorCount) to run several processes which do not support multi-threading. I have already Dim'd proinf(6) as Process.ProcessStartInfo because I have designe开发者_StackOverflow中文版d a queue for the processes and this encounters no errors.

Any help is appreciated!


Is this what you are after?

Dim parray(Environment.ProcessorCount) As Process
For i As Integer = 0 To parray.Length - 1
  parray(i) = New Process()
Next
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜