A:由于在项目中要和串口通信,在VS2003中没有提供串口通信的控件,只好通过MSComm32.OCX控件来解决,以下是在XP中注册该控件的方法:
1.将MSComm32.OCX文档Copy到windows\system32目录下面;
2.编辑以下内容到新建的.reg文档中:
REGEDIT
HKEY_CLASSES_ROOT\Licenses = Licensing: Copying the keys may be a violation of established copyrights.
// The MsComm32 Control License follows:
HKEY_CLASSES_ROOT\Licenses\4250E830-6AC2-11cf-8ADB-00AA00C00905 = kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun
3.运行这个.reg文件,完成注册。
本文来自“十万个为什么”电脑学习网 http://www.why100000.com
联系客服