Originally posted by: Georgi Georgiew
How can I get BIOS number?
Georgi
ReplyOriginally posted by: Daniel Monteiro
I haven't find any function that returns the number of serial ports available in the system.
The only way I found was to make a loop from 1 to 32 and try to open the serial port referent to that number: if the CreateFile function returns the port handle, the port exists.
But there are some problems: if the port is already in use by other application, that port won't apear at my application, and if there are more than 32 ports the ports above 32 won't apear too.
Thanks for help.
Originally posted by: Mike 'Fiddler' D.
Like so many FAQ's say, i used GlobalMemoryStatus to retrieven the amount of available physical memory. Here's the problem:
It appears that under Win95/98 this information is totally wrong (on a machine w/ 64 mb ram and only my ram counting program open, it shows that i have about 8k (that's right!) free... obviously this information is wrong. When I run my program under NT i get the correct results however.
Any clue as to why this happens?
Please email me if you have another way to check physical memory or let me know hwat i'm doing wrong (I am using Delphi 4, but that doesnt really matter).
-Fiddler
Originally posted by: Naveen
Intel has code on their site to get the CPU speed under any OS. May be that should help if anybody wants this info for 95/98 OS's.
ReplyOriginally posted by: Josh
One problem you will encounter is if you try to get the CPU speed in Windows 9x as it is not listed in the registry (unlike NT). If anyone here has found a good way to pull the cpu clock speed on a 95/98 system, please let me know.