
Debugging found in m_MSComm. Create (NULL, 0, CRect,0,0,0 (0), and this, IDC_MSCOMM1); Error creating object appear here
Please answer
CodePudding user response:
The source code download address http://www.pudn.com/downloads100/doc/comm/detail411270.htmlCodePudding user response:
Is that control of VB, run before to confirm the control has already been registered,Create ActiveX before to invoke AfxOleInit
PS since in c + + : why don't you write a serial port directly calculate, you can also send a serial interface code moved to the thread to prevent blocking
CodePudding user response:
Others used pudn!!!!!