I tried using WMI, but with no success so far.
Dim objLocator As New OLEObject("WbemScripting.SWbemLocator")
Dim objService As OLEObject
objService = objLocator.ConnectServer(".", "root\cimv2")
Dim instances As OLEObject
instances = objService.InstancesOf("Win32_ComputerSystem")
Whatever I try to do next trigers an OLE exception. Is there any other known way of getting a CPU count programaticly from REALbasic. I know I could execute a vbscript from the shell class, but it's a bit too ugly for me.