I have a project that is referencing the AxMSCommLi开发者_开发百科b 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?
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?
精彩评论