串口助手步骤cjq.docVIP

  • 42
  • 0
  • 约4.52万字
  • 约 56页
  • 2016-08-23 发布于河南
  • 举报
串口助手步骤cjq

建立SCOMM程序串口助手 背景:vc++2005,不需要什么特殊空间(spcomm之类的什么都不需要) 打开vc++2005,新建MFC AppWizard,名字SCOMM,基于对话框的。确定完成。 建立界面如下: 代码如下: SCOMMDlg.cpp // SCOMMDlg.cpp : 实现文件 // #include stdafx.h #include SCOMM.h #include SCOMMDlg.h #ifdef _DEBUG #define new DEBUG_NEW #endif // 用于应用程序“关于”菜单项的CAboutDlg 对话框 class CAboutDlg : public CDialog { public: CAboutDlg(); // 对话框数据 enum { IDD = IDD_ABOUTBOX }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 // 实现 protected: DECLARE_MESSAGE_MAP() }; CAboutDlg::CAboutDlg() : CDialog(CAboutDlg::IDD) { } void CAboutDlg

文档评论(0)

1亿VIP精品文档

相关文档