+int cpus[] = { IDC_CPU0, IDC_CPU1, IDC_CPU2, IDC_CPU3, IDC_CPU4,
IDC_CPU5, IDC_CPU6, IDC_CPU7,
+ IDC_CPU8, IDC_CPU9, IDC_CPU10, IDC_CPU11,
IDC_CPU12, IDC_CPU13, IDC_CPU14, IDC_CPU15,
+ IDC_CPU16, IDC_CPU17, IDC_CPU18, IDC_CPU19,
IDC_CPU20, IDC_CPU21, IDC_CPU22, IDC_CPU23,
+ IDC_CPU24, IDC_CPU25, IDC_CPU26, IDC_CPU27,
IDC_CPU28, IDC_CPU29, IDC_CPU30, IDC_CPU31 };
I think that you can just change IDC_CPU31 from 1051 to 1050 in
resource.h and then write "IDC_CPU0 + i" instead of "cpus[i]" in
affinity.c.
-Alex