Home > Back-end >  Someone is BCB2010 used MSCOMM control
Someone is BCB2010 used MSCOMM control

Time:09-27

If (MSComm1 - & gt; CommEvent==comEvReceive)
This sentence in BCB6 everything is normal, but in 2010 an Error: [bcc32 Error] Unit1. CPP (24) : E2451 Undefined symbol 'comEvReceive'

CodePudding user response:

Or use VC2010, I debug OPENCV week basic despair!

CodePudding user response:

From the point of error, this is the comEvReceive is not defined?

CodePudding user response:

Also, how can think of in BCB Microsoft MSComm serial port control?
Online the CSerialPort class, it is ok to download a direct use,
I company before, this is the lite version of a class! Until one day I found the famous CSerialPort online,
A comparison, and then found that turned out to be the lean over!

CodePudding user response:

To track it and see how this comEvReceive here said, directly replace it

CodePudding user response:

Recommend a serial port control Victor serial VCL control that can try

http://www.cppfans.com/vcl/victorcomm/
  • Related