各位大哥、大姐救命呀!!win2k下CMOS里面的数据怎么读出来,这方面的程序我没接触过,要看什么参考书?这100分送完还会加分,直到小弟倾家荡产为止!!!
老板给很短的时间让我做出来,不管提建议的,还是给出源码链接,还是建议参考书的,我都有分相送,小弟向你们鞠躬了
老板给很短的时间让我做出来,不管提建议的,还是给出源码链接,还是建议参考书的,我都有分相送,小弟向你们鞠躬了
解决方案 »
- socket网络编程之架构设计请教 -- 业务逻辑实现相关
- CSplitterWnd的一个问题
- 对话框上的多个picture控件,用鼠标点击某个时,使其加一高亮边框显示当前是被选中的状态,这怎么实现?
- 关于VS2008中函数指针作为另一个函数的参数
- VC6.0,怎样取第2个记录集的数据?
- 这个错误原因是什么啊?请帮忙看下,谢谢
- chtmlctrl里怎么无法输入回车??
- 在VC++6.0里如何获得本机CPU的GUID?
- <<c++primer>>(潘)的几个概念问题
- 各位,请教一个c/s问题:服务器采用异步通信,怎样实现与多个用户同时通信
- 《MFC深入浅出》中的一个编译问题,在线等待!
- 100分求Visual Assist 4.1.2.1228的注册码!!!快来啊,分数主要给第一个正确答案的人!!up者有分!!
Port access under Windows 9x is possible as long as you refrain from accessing trapped ports. Several VxDs hook I/O ports to virtualize hardware and will block any attempt to modify these ports from a Windows application. If you wish to control a piece of hardware which is mapped to free addresses such as 300h, you can use the inp/outp functions with no fear. However, any attempt to access system ports (such as those reserved for the DMA chip, HD controller, etc.) will be to no avail. To control such ports from your application, you'll need to use the WinIo library which executes in ring 0 and bypasses Windows port trapping mechanism. Under Windows NT/2000, user mode applications are completely prohibited from accessing I/O ports. Any attempt to access an I/O port from a ring 3 application is terminated with a protection fault. Thus, the only way to overcome this limitation is by using a kernel-mode device driver, such as the one supplied with the WinIo library.find out port number of CMOS, then you can read its data via WinIO library.
就不能直接访问端口
建议你去当一个库,
我记得是winio
可以直接操作端口
http://expert.csdn.net/Expert/topic/909/909286.xml?temp=.7075464
你可以在google上搜一搜CMOS或者在CSDN上搜