>> what about if i have a double core CPU, does this function return 2 ? > > It should, but I didn't test it myself (for the same reason you couldn't > do it). my double core PC return 2 at GetCPUCount( ) HIH Armel