Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. kangolian

    How to dinamicaly create a bi-dimensional array

    Are you trying to make the array be different sizes depending on what data you have? If so, I think you would be better using linked lists as you can add extra elements to these on the fly, whereas arrays are fixed size.
  2. kangolian

    Why does this crash in XP but not in 98?

    Answered my own question by reading the Help!You have to first specify the size in bytes of the structure you are passing to the function. I wonder why it still worked in 98 though? Weird. bool IsNTBased() { OSVERSIONINFO osinfo; // os version info structure osinfo.dwOSVersionInfoSize =...
  3. kangolian

    Why does this crash in XP but not in 98?

    Hi My program needs to run on all versions of Windows from 95 to XP. It also needs to detect what type of OS it is running on, so I am using GetVersionEx for this. Trouble is, my app runs fine on 98 but when I test it on XP it crashes with some kind of Access Violation. Anyone got any ideas on...
  4. kangolian

    Processor Speed

    You can only get the clock speed of the processor from the Registry if you're using an NT based system, such as NT4, 2000 or XP. You would need to use C++ with inline assembly code to calculate the clock speed. This can't be done in VB directly. I found an excellent example on Planet Source Code...

Part and Inventory Search

Back
Top