Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to know how many CPUs are present?
Answer: Try this function:
Example:
Function GetCPUCount() as Integer
Declare Function MPProcessors Lib "Carbon" () as Integer

Return MPProcessors()
End Function
Notes: Your app will than need that library to launch on Classic. To avoid this the MBS plugin checks if this library is available and return 1 if it's not available.

Feedback, Comments & Corrections




Links
MBS Xojo blog