由于在项目中要和串口通信,在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文件,完成注册。
发表于 @ 2008年01月14日 11:17:00|评论(loading...)|编辑