Home > Back-end >  Based on single document using MSCOMM control problem
Based on single document using MSCOMM control problem

Time:10-16

Based on the MFC single document MSCOMM control documents, connection problems in winxp under VC6.0

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.html

CodePudding 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!!!!!
  • Related