Results 1 to 7 of 7

Thread: Processor info

  1. #1

    Thread Starter
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Not overly, apart from the constants...which should all be uppercase. Why? What's the problem?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  2. #2
    Addicted Member hypnos's Avatar
    Join Date
    Aug 2000
    Location
    UK
    Posts
    183
    Have you definded the System_Info type?

  3. #3
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330
    Sorry I wasen't to decriptive of the problem. I have the Const's declared and system_info udt created. It just returns 0. I have a pentium III could that be why it is not returning anything?
    Matt

  4. #4
    Addicted Member hypnos's Avatar
    Join Date
    Aug 2000
    Location
    UK
    Posts
    183
    I have checked your code and it all seems fine to me. I think it's possible that the returned value is 0 because of your PentiumIII. I see it likely that this API call was developed before the PIII was on the market. Maybe the code would work on a win2000 machine? - You're not using 2000 are you?

  5. #5
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330

    Smile

    No, im running win98. So the code did work ok on your machine?
    Matt

  6. #6
    Addicted Member hypnos's Avatar
    Join Date
    Aug 2000
    Location
    UK
    Posts
    183
    No, I'm not using 2000 and the code didn't work, mind you it has no reason to work, I haven’t got an Intel chip. I'm guessing when I say it maybe because the API was developed before the chip was on the market. That is the only explanation I can think of.

  7. #7
    Hyperactive Member MPrestonf12's Avatar
    Join Date
    Jun 1999
    Location
    NY
    Posts
    330

    Smile

    Ok, well thanks for your help anyway I appreciate it.
    Matt

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