Results 1 to 3 of 3

Thread: Low-level system info

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    50
    Hi,
    in my utility, i would like to get many low-level system info:motherboard, AGP, PCI, processor(frequency,stepping,..)
    ,and many more...But I think it doesn´t API, which can I use for this. How can I get these infos ?
    Thanks much!

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Motherboard information and other low level stuff can noet be accessed through VB. You will need a C++ or ASM DLL to call from VB to access those stuff. To get Number of processors type of processor you can use this
    Code:
    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
    Public si As SYSTEM_INFO
    
    GetSystemInfo si
    Debug.Print = si.dwProcessorType
    'use other properties to access other stuff
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3
    Guest
    If that code is to go in a Form, replace Public with Private.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width