Hi,

I'm useless at API and I couldn't get it to work if my life depended on it!

Anyway, I found this in the API viewer.

Public Declare Sub GetSystemInfo Lib "kernel32" (lpSystemInfo As SYSTEM_INFO)

Public Type SYSTEM_INFO
dwOemID As Long
dwPageSize As Long
lpMinimumApplicationAddress As Long
lpMaximumApplicationAddress As Long
dwActiveProcessorMask As Long
dwNumberOrfProcessors As Long
dwProcessorType As Long
dwAllocationGranularity As Long
dwReserved As Long
End Type

Now, lets say I wanted to get dwOEMID and dwActiveProcessorMask and put the result in text1 and text2. How would I go about implementing the above?

BTW, is dwNumberOrfProcessors meant to have an "r" in the middle of "Orf" or have MS stuffed up again.

Many thank you's

Kind regards,

------------------
- Chris
[email protected]
If it ain't broke - don't fix it