Home > Software engineering >  ActiveX control is added in the ActiveX control engineering?
ActiveX control is added in the ActiveX control engineering?

Time:10-02

I use VS built a ActiveX control engineering, intend to be a. Ocx
Before didn't join the ActiveX control, control interface is to be able to load in the ActiveX control pad, can open the web to see interface,
 public: 
Afx_msg void OnBnClickedButtonInit ();
Afx_msg void OnBnClickedButtonAlarm ();
Afx_msg void OnBnClickedButtonStop ();
CButton m_BUTTON_INIT;
CButton m_BUTTON_ALARM;
CButton m_BUTTON_STOP;
CComboBox m_COMB;
CMscomm1 m_MSCOMM;

Object is created, an object name m_MSCOMM,

Once joined a MSCOMM control, ActiveX control pad can't load the interface, is gray,
I want to ask next is my operation problems, or not to allow the ActiveX control package again?

CodePudding user response:

https://support.microsoft.com/en-us/help/218442/how-to-add-activex-controls-to-an-atl-composite-control-programmatically-in-visual-c

CodePudding user response:

reference 1st floor VisualEleven response:
https://support.microsoft.com/en-us/help/218442/how-to-add-activex-controls-to-an-atl-composite-control-programmatically-in-visual-c

VS is created by the MFC activeX controls, it may not seem like ATL,,
New to this, is not very good.

CodePudding user response:

To separate two activex controls in the page with js calls don't

CodePudding user response:

A serial port it is recommended to use the API
Serial Communications in Win32
  • Related