Article View: borland.public.cppbuilder.nativeapi
Article #15394Re: Reading sensors.
From: Dennis Jones
Date: Wed, 09 Jul 2003 01:55
Date: Wed, 09 Jul 2003 01:55
14 lines
1469 bytes
1469 bytes
"Bogdan" <boprea@xnet.ro> wrote in message news:3f072464@newsgroups.borland.com... > Are there any API functions for reading the sensors on the > mainboard(fan rpm, temperatures).I ppresume(from asm), > that the data is stored at a certain address that I can only > access using a port number, but I think there has to be a > simpler way(API). Win32 does not allow you to access hardware registers/ports/memory from user mode. To access hardware directly, I believe you have to be in kernel mode, which means writing a device driver. - Dennis
Technical Details
Message-ID:
<3f0b75f8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f072464@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,be5714c8d1ef195a X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-08 19:00:45 PST From: "Dennis Jones" <djones@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f072464@newsgroups.borland.com> Subject: Re: Reading sensors. Date: Tue, 8 Jul 2003 18:55:06 -0700 Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 204.200.27.7 Message-ID: <3f0b75f8$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1057715704 204.200.27.7 (8 Jul 2003 18:55:04 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail