I have a project that is referencing the AxMSCommLib in VS2010 C#.. My Windows 7 Dev machine doesn't have or can't find this reference. Does anyone have any info on where to get this reference to make it work?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
MSCommLib is an ancient VB6 control. I don't have it either anymore, even though I installed the VB6 runtime support on this machine. You'd have to dig up an old VB6 installer somewhere, no idea where to look. Maybe you can get it from an old machine, copy mscomm32.ocx into your c:\windows\system32 folder and register it with RegSvr32.exe
Time to switch to System.IO.Ports.SerialPort perhaps?