Commit 107a69d6f7291905f0ce34027853ec8ec5362844

Authored by xiemeng
0 parents

init 20210123

  1 +/*.ncb
  2 +/*.aps
... ...
  1 +; CLW file contains information for the MFC ClassWizard
  2 +
  3 +[General Info]
  4 +Version=1
  5 +LastClass=CBlueFlashToolDlg
  6 +LastTemplate=CDialog
  7 +NewFileInclude1=#include "stdafx.h"
  8 +NewFileInclude2=#include "BlueFlashTool.h"
  9 +
  10 +ClassCount=2
  11 +Class1=CBlueFlashToolApp
  12 +Class2=CBlueFlashToolDlg
  13 +
  14 +ResourceCount=4
  15 +Resource2=IDR_MAINFRAME
  16 +Resource3=IDD_BLUEFLASHTOOL_DIALOG
  17 +Resource4=IDD_SYSTEM_CONFIG
  18 +
  19 +[CLS:CBlueFlashToolApp]
  20 +Type=0
  21 +HeaderFile=BlueFlashTool.h
  22 +ImplementationFile=BlueFlashTool.cpp
  23 +Filter=N
  24 +
  25 +[CLS:CBlueFlashToolDlg]
  26 +Type=0
  27 +HeaderFile=BlueFlashToolDlg.h
  28 +ImplementationFile=BlueFlashToolDlg.cpp
  29 +Filter=D
  30 +BaseClass=CDialog
  31 +VirtualFilter=dWC
  32 +LastObject=IDC_MSCOMM0
  33 +
  34 +
  35 +
  36 +[DLG:IDD_BLUEFLASHTOOL_DIALOG]
  37 +Type=1
  38 +Class=CBlueFlashToolDlg
  39 +ControlCount=94
  40 +Control1=IDC_STATIC_GROUP01,button,1342177287
  41 +Control2=IDC_CHECK_EAR01,button,1342242819
  42 +Control3=IDC_CHECK_USB01,button,1342242819
  43 +Control4=IDC_PROGRESS_EAR01,msctls_progress32,1350565889
  44 +Control5=IDC_PROGRESS_USB01,msctls_progress32,1350565889
  45 +Control6=IDC_BUTTON_START_EAR01,button,1342242816
  46 +Control7=IDC_BUTTON_START_USB01,button,1342242816
  47 +Control8=IDC_STATIC_GROUP2,button,1342177287
  48 +Control9=IDC_CHECK_EAR2,button,1342242819
  49 +Control10=IDC_CHECK_USB2,button,1342242819
  50 +Control11=IDC_PROGRESS_EAR2,msctls_progress32,1350565889
  51 +Control12=IDC_PROGRESS_USB2,msctls_progress32,1350565889
  52 +Control13=IDC_BUTTON_START_EAR2,button,1342242816
  53 +Control14=IDC_BUTTON_START_USB2,button,1342242816
  54 +Control15=IDC_STATIC_GROUP3,button,1342177287
  55 +Control16=IDC_CHECK_EAR3,button,1342242819
  56 +Control17=IDC_CHECK_USB3,button,1342242819
  57 +Control18=IDC_PROGRESS_EAR3,msctls_progress32,1350565889
  58 +Control19=IDC_PROGRESS_USB3,msctls_progress32,1350565889
  59 +Control20=IDC_BUTTON_START_EAR3,button,1342242816
  60 +Control21=IDC_BUTTON_START_USB3,button,1342242816
  61 +Control22=IDC_STATIC_GROUP4,button,1342177287
  62 +Control23=IDC_CHECK_EAR4,button,1342242819
  63 +Control24=IDC_CHECK_USB4,button,1342242819
  64 +Control25=IDC_PROGRESS_EAR4,msctls_progress32,1350565889
  65 +Control26=IDC_PROGRESS_USB4,msctls_progress32,1350565889
  66 +Control27=IDC_BUTTON_START_EAR4,button,1342242816
  67 +Control28=IDC_BUTTON_START_USB4,button,1342242816
  68 +Control29=IDC_STATIC_GROUP5,button,1342177287
  69 +Control30=IDC_CHECK_EAR5,button,1342242819
  70 +Control31=IDC_CHECK_USB5,button,1342242819
  71 +Control32=IDC_PROGRESS_EAR5,msctls_progress32,1350565889
  72 +Control33=IDC_PROGRESS_USB5,msctls_progress32,1350565889
  73 +Control34=IDC_BUTTON_START_EAR5,button,1342242816
  74 +Control35=IDC_BUTTON_START_USB5,button,1342242816
  75 +Control36=IDC_STATIC_GROUP6,button,1342177287
  76 +Control37=IDC_CHECK_EAR6,button,1342242819
  77 +Control38=IDC_CHECK_USB6,button,1342242819
  78 +Control39=IDC_PROGRESS_EAR6,msctls_progress32,1350565889
  79 +Control40=IDC_PROGRESS_USB6,msctls_progress32,1350565889
  80 +Control41=IDC_BUTTON_START_EAR6,button,1342242816
  81 +Control42=IDC_BUTTON_START_USB6,button,1342242816
  82 +Control43=IDC_STATIC_GROUP7,button,1342177287
  83 +Control44=IDC_CHECK_EAR7,button,1342242819
  84 +Control45=IDC_CHECK_USB7,button,1342242819
  85 +Control46=IDC_PROGRESS_EAR7,msctls_progress32,1350565889
  86 +Control47=IDC_PROGRESS_USB7,msctls_progress32,1350565889
  87 +Control48=IDC_BUTTON_START_EAR7,button,1342242816
  88 +Control49=IDC_BUTTON_START_USB7,button,1342242816
  89 +Control50=IDC_STATIC_GROUP8,button,1342177287
  90 +Control51=IDC_CHECK_EAR8,button,1342242819
  91 +Control52=IDC_CHECK_USB8,button,1342242819
  92 +Control53=IDC_PROGRESS_EAR8,msctls_progress32,1350565889
  93 +Control54=IDC_PROGRESS_USB8,msctls_progress32,1350565889
  94 +Control55=IDC_BUTTON_START_EAR8,button,1342242816
  95 +Control56=IDC_BUTTON_START_USB8,button,1342242816
  96 +Control57=IDC_STATIC_GROUP9,button,1342177287
  97 +Control58=IDC_CHECK_EAR9,button,1342242819
  98 +Control59=IDC_CHECK_USB9,button,1342242819
  99 +Control60=IDC_PROGRESS_EAR9,msctls_progress32,1350565889
  100 +Control61=IDC_PROGRESS_USB9,msctls_progress32,1350565889
  101 +Control62=IDC_BUTTON_START_EAR9,button,1342242816
  102 +Control63=IDC_BUTTON_START_USB9,button,1342242816
  103 +Control64=IDC_STATIC_GROUP10,button,1342177287
  104 +Control65=IDC_CHECK_EAR10,button,1342242819
  105 +Control66=IDC_CHECK_USB10,button,1342242819
  106 +Control67=IDC_PROGRESS_EAR10,msctls_progress32,1350565889
  107 +Control68=IDC_PROGRESS_USB10,msctls_progress32,1350565889
  108 +Control69=IDC_BUTTON_START_EAR10,button,1342242816
  109 +Control70=IDC_BUTTON_START_USB10,button,1342242816
  110 +Control71=IDC_START_ALL,button,1342242816
  111 +Control72=IDC_STOP_ALL,button,1342242816
  112 +Control73=IDC_BUTTON_SETTING,button,1342242816
  113 +Control74=IDC_MSCOMM0,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  114 +Control75=IDC_MSCOMM1,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  115 +Control76=IDC_MSCOMM2,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  116 +Control77=IDC_MSCOMM3,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  117 +Control78=IDC_MSCOMM4,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  118 +Control79=IDC_MSCOMM5,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  119 +Control80=IDC_MSCOMM6,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  120 +Control81=IDC_MSCOMM7,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  121 +Control82=IDC_MSCOMM8,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  122 +Control83=IDC_MSCOMM9,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  123 +Control84=IDC_MSCOMM10,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  124 +Control85=IDC_MSCOMM11,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  125 +Control86=IDC_MSCOMM12,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  126 +Control87=IDC_MSCOMM13,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  127 +Control88=IDC_MSCOMM14,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  128 +Control89=IDC_MSCOMM15,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  129 +Control90=IDC_MSCOMM16,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  130 +Control91=IDC_MSCOMM17,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  131 +Control92=IDC_MSCOMM18,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  132 +Control93=IDC_MSCOMM19,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  133 +Control94=IDC_MSCOMM20,{648A5600-2C6E-101B-82B6-000000000014},1342242816
  134 +
  135 +[DLG:IDD_SYSTEM_CONFIG]
  136 +Type=1
  137 +Class=?
  138 +ControlCount=2
  139 +Control1=IDOK,button,1342242817
  140 +Control2=IDCANCEL,button,1342242816
  141 +
... ...
  1 +// BlueFlashTool.cpp : Defines the class behaviors for the application.
  2 +//
  3 +
  4 +#include "stdafx.h"
  5 +#include "BlueFlashTool.h"
  6 +#include "BlueFlashToolDlg.h"
  7 +
  8 +#ifdef _DEBUG
  9 +#define new DEBUG_NEW
  10 +#undef THIS_FILE
  11 +static char THIS_FILE[] = __FILE__;
  12 +#endif
  13 +
  14 +/////////////////////////////////////////////////////////////////////////////
  15 +// CBlueFlashToolApp
  16 +
  17 +BEGIN_MESSAGE_MAP(CBlueFlashToolApp, CWinApp)
  18 + //{{AFX_MSG_MAP(CBlueFlashToolApp)
  19 + // NOTE - the ClassWizard will add and remove mapping macros here.
  20 + // DO NOT EDIT what you see in these blocks of generated code!
  21 + //}}AFX_MSG
  22 + ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  23 +END_MESSAGE_MAP()
  24 +
  25 +/////////////////////////////////////////////////////////////////////////////
  26 +// CBlueFlashToolApp construction
  27 +
  28 +CBlueFlashToolApp::CBlueFlashToolApp()
  29 +{
  30 + // TODO: add construction code here,
  31 + // Place all significant initialization in InitInstance
  32 +}
  33 +
  34 +/////////////////////////////////////////////////////////////////////////////
  35 +// The one and only CBlueFlashToolApp object
  36 +
  37 +CBlueFlashToolApp theApp;
  38 +
  39 +/////////////////////////////////////////////////////////////////////////////
  40 +// CBlueFlashToolApp initialization
  41 +
  42 +BOOL CBlueFlashToolApp::InitInstance()
  43 +{
  44 + AfxEnableControlContainer();
  45 +
  46 + // Standard initialization
  47 + // If you are not using these features and wish to reduce the size
  48 + // of your final executable, you should remove from the following
  49 + // the specific initialization routines you do not need.
  50 +
  51 +#ifdef _AFXDLL
  52 + Enable3dControls(); // Call this when using MFC in a shared DLL
  53 +#else
  54 + Enable3dControlsStatic(); // Call this when linking to MFC statically
  55 +#endif
  56 +
  57 + CBlueFlashToolDlg dlg;
  58 + m_pMainWnd = &dlg;
  59 + int nResponse = dlg.DoModal();
  60 + if (nResponse == IDOK)
  61 + {
  62 + // TODO: Place code here to handle when the dialog is
  63 + // dismissed with OK
  64 + }
  65 + else if (nResponse == IDCANCEL)
  66 + {
  67 + // TODO: Place code here to handle when the dialog is
  68 + // dismissed with Cancel
  69 + }
  70 +
  71 + // Since the dialog has been closed, return FALSE so that we exit the
  72 + // application, rather than start the application's message pump.
  73 + return FALSE;
  74 +}
... ...
  1 +# Microsoft Developer Studio Project File - Name="BlueFlashTool" - Package Owner=<4>
  2 +# Microsoft Developer Studio Generated Build File, Format Version 6.00
  3 +# ** DO NOT EDIT **
  4 +
  5 +# TARGTYPE "Win32 (x86) Application" 0x0101
  6 +
  7 +CFG=BlueFlashTool - Win32 Debug
  8 +!MESSAGE This is not a valid makefile. To build this project using NMAKE,
  9 +!MESSAGE use the Export Makefile command and run
  10 +!MESSAGE
  11 +!MESSAGE NMAKE /f "BlueFlashTool.mak".
  12 +!MESSAGE
  13 +!MESSAGE You can specify a configuration when running NMAKE
  14 +!MESSAGE by defining the macro CFG on the command line. For example:
  15 +!MESSAGE
  16 +!MESSAGE NMAKE /f "BlueFlashTool.mak" CFG="BlueFlashTool - Win32 Debug"
  17 +!MESSAGE
  18 +!MESSAGE Possible choices for configuration are:
  19 +!MESSAGE
  20 +!MESSAGE "BlueFlashTool - Win32 Release" (based on "Win32 (x86) Application")
  21 +!MESSAGE "BlueFlashTool - Win32 Debug" (based on "Win32 (x86) Application")
  22 +!MESSAGE
  23 +
  24 +# Begin Project
  25 +# PROP AllowPerConfigDependencies 0
  26 +# PROP Scc_ProjName ""
  27 +# PROP Scc_LocalPath ""
  28 +CPP=cl.exe
  29 +MTL=midl.exe
  30 +RSC=rc.exe
  31 +
  32 +!IF "$(CFG)" == "BlueFlashTool - Win32 Release"
  33 +
  34 +# PROP BASE Use_MFC 6
  35 +# PROP BASE Use_Debug_Libraries 0
  36 +# PROP BASE Output_Dir "Release"
  37 +# PROP BASE Intermediate_Dir "Release"
  38 +# PROP BASE Target_Dir ""
  39 +# PROP Use_MFC 6
  40 +# PROP Use_Debug_Libraries 0
  41 +# PROP Output_Dir "Release"
  42 +# PROP Intermediate_Dir "Release"
  43 +# PROP Target_Dir ""
  44 +# ADD BASE CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /c
  45 +# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /c
  46 +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  47 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
  48 +# ADD BASE RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL"
  49 +# ADD RSC /l 0x804 /d "NDEBUG" /d "_AFXDLL"
  50 +BSC32=bscmake.exe
  51 +# ADD BASE BSC32 /nologo
  52 +# ADD BSC32 /nologo
  53 +LINK32=link.exe
  54 +# ADD BASE LINK32 /nologo /subsystem:windows /machine:I386
  55 +# ADD LINK32 /nologo /subsystem:windows /machine:I386
  56 +
  57 +!ELSEIF "$(CFG)" == "BlueFlashTool - Win32 Debug"
  58 +
  59 +# PROP BASE Use_MFC 6
  60 +# PROP BASE Use_Debug_Libraries 1
  61 +# PROP BASE Output_Dir "Debug"
  62 +# PROP BASE Intermediate_Dir "Debug"
  63 +# PROP BASE Target_Dir ""
  64 +# PROP Use_MFC 6
  65 +# PROP Use_Debug_Libraries 1
  66 +# PROP Output_Dir "Debug"
  67 +# PROP Intermediate_Dir "Debug"
  68 +# PROP Target_Dir ""
  69 +# ADD BASE CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /Yu"stdafx.h" /FD /GZ /c
  70 +# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Yu"stdafx.h" /FD /GZ /c
  71 +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  72 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
  73 +# ADD BASE RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL"
  74 +# ADD RSC /l 0x804 /d "_DEBUG" /d "_AFXDLL"
  75 +BSC32=bscmake.exe
  76 +# ADD BASE BSC32 /nologo
  77 +# ADD BSC32 /nologo
  78 +LINK32=link.exe
  79 +# ADD BASE LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
  80 +# ADD LINK32 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
  81 +
  82 +!ENDIF
  83 +
  84 +# Begin Target
  85 +
  86 +# Name "BlueFlashTool - Win32 Release"
  87 +# Name "BlueFlashTool - Win32 Debug"
  88 +# Begin Group "Source Files"
  89 +
  90 +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
  91 +# Begin Source File
  92 +
  93 +SOURCE=.\BlueFlashTool.cpp
  94 +# End Source File
  95 +# Begin Source File
  96 +
  97 +SOURCE=.\BlueFlashTool.rc
  98 +# End Source File
  99 +# Begin Source File
  100 +
  101 +SOURCE=.\BlueFlashToolDlg.cpp
  102 +# End Source File
  103 +# Begin Source File
  104 +
  105 +SOURCE=.\mscomm.cpp
  106 +# End Source File
  107 +# Begin Source File
  108 +
  109 +SOURCE=.\StdAfx.cpp
  110 +# ADD CPP /Yc"stdafx.h"
  111 +# End Source File
  112 +# End Group
  113 +# Begin Group "Header Files"
  114 +
  115 +# PROP Default_Filter "h;hpp;hxx;hm;inl"
  116 +# Begin Source File
  117 +
  118 +SOURCE=.\BlueFlashTool.h
  119 +# End Source File
  120 +# Begin Source File
  121 +
  122 +SOURCE=.\BlueFlashToolDlg.h
  123 +# End Source File
  124 +# Begin Source File
  125 +
  126 +SOURCE=.\mscomm.h
  127 +# End Source File
  128 +# Begin Source File
  129 +
  130 +SOURCE=.\Resource.h
  131 +# End Source File
  132 +# Begin Source File
  133 +
  134 +SOURCE=.\StdAfx.h
  135 +# End Source File
  136 +# End Group
  137 +# Begin Group "Resource Files"
  138 +
  139 +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
  140 +# Begin Source File
  141 +
  142 +SOURCE=.\res\BlueFlashTool.ico
  143 +# End Source File
  144 +# Begin Source File
  145 +
  146 +SOURCE=.\res\BlueFlashTool.rc2
  147 +# End Source File
  148 +# End Group
  149 +# Begin Source File
  150 +
  151 +SOURCE=.\ReadMe.txt
  152 +# End Source File
  153 +# End Target
  154 +# End Project
  155 +# Section BlueFlashTool : {648A5600-2C6E-101B-82B6-000000000014}
  156 +# 2:21:DefaultSinkHeaderFile:mscomm.h
  157 +# 2:16:DefaultSinkClass:CMSComm
  158 +# End Section
  159 +# Section BlueFlashTool : {E6E17E90-DF38-11CF-8E74-00A0C90F26F8}
  160 +# 2:5:Class:CMSComm
  161 +# 2:10:HeaderFile:mscomm.h
  162 +# 2:8:ImplFile:mscomm.cpp
  163 +# End Section
... ...
  1 +Microsoft Developer Studio Workspace File, Format Version 6.00
  2 +# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
  3 +
  4 +###############################################################################
  5 +
  6 +Project: "BlueFlashTool"=.\BlueFlashTool.dsp - Package Owner=<4>
  7 +
  8 +Package=<5>
  9 +{{{
  10 +}}}
  11 +
  12 +Package=<4>
  13 +{{{
  14 +}}}
  15 +
  16 +###############################################################################
  17 +
  18 +Global:
  19 +
  20 +Package=<5>
  21 +{{{
  22 +}}}
  23 +
  24 +Package=<3>
  25 +{{{
  26 + {648A5600-2C6E-101B-82B6-000000000014}
  27 +}}}
  28 +
  29 +###############################################################################
  30 +
... ...
  1 +// BlueFlashTool.h : main header file for the BLUEFLASHTOOL application
  2 +//
  3 +
  4 +#if !defined(AFX_BLUEFLASHTOOL_H__4BF81738_BBD5_4BEA_BCA8_BB0255AFF8C2__INCLUDED_)
  5 +#define AFX_BLUEFLASHTOOL_H__4BF81738_BBD5_4BEA_BCA8_BB0255AFF8C2__INCLUDED_
  6 +
  7 +#if _MSC_VER > 1000
  8 +#pragma once
  9 +#endif // _MSC_VER > 1000
  10 +
  11 +#ifndef __AFXWIN_H__
  12 + #error include 'stdafx.h' before including this file for PCH
  13 +#endif
  14 +
  15 +#include "resource.h" // main symbols
  16 +
  17 +/////////////////////////////////////////////////////////////////////////////
  18 +// CBlueFlashToolApp:
  19 +// See BlueFlashTool.cpp for the implementation of this class
  20 +//
  21 +
  22 +class CBlueFlashToolApp : public CWinApp
  23 +{
  24 +public:
  25 + CBlueFlashToolApp();
  26 +
  27 +// Overrides
  28 + // ClassWizard generated virtual function overrides
  29 + //{{AFX_VIRTUAL(CBlueFlashToolApp)
  30 + public:
  31 + virtual BOOL InitInstance();
  32 + //}}AFX_VIRTUAL
  33 +
  34 +// Implementation
  35 +
  36 + //{{AFX_MSG(CBlueFlashToolApp)
  37 + // NOTE - the ClassWizard will add and remove member functions here.
  38 + // DO NOT EDIT what you see in these blocks of generated code !
  39 + //}}AFX_MSG
  40 + DECLARE_MESSAGE_MAP()
  41 +};
  42 +
  43 +
  44 +/////////////////////////////////////////////////////////////////////////////
  45 +
  46 +//{{AFX_INSERT_LOCATION}}
  47 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  48 +
  49 +#endif // !defined(AFX_BLUEFLASHTOOL_H__4BF81738_BBD5_4BEA_BCA8_BB0255AFF8C2__INCLUDED_)
... ...
No preview for this file type
  1 +<html>
  2 +<body>
  3 +<pre>
  4 +<h1>Build Log</h1>
  5 +<h3>
  6 +--------------------Configuration: BlueFlashTool - Win32 Debug--------------------
  7 +</h3>
  8 +<h3>Command Lines</h3>
  9 +Creating command line "rc.exe /l 0x804 /fo"Debug/BlueFlashTool.res" /d "_DEBUG" /d "_AFXDLL" "H:\BlueFlashTool\BlueFlashTool.rc""
  10 +Creating temporary file "C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF66.tmp" with contents
  11 +[
  12 +/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Debug/BlueFlashTool.pch" /Yu"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
  13 +"H:\BlueFlashTool\BlueFlashTool.cpp"
  14 +"H:\BlueFlashTool\BlueFlashToolDlg.cpp"
  15 +"H:\BlueFlashTool\mscomm.cpp"
  16 +]
  17 +Creating command line "cl.exe @C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF66.tmp"
  18 +Creating temporary file "C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF76.tmp" with contents
  19 +[
  20 +/nologo /MDd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_AFXDLL" /D "_MBCS" /Fp"Debug/BlueFlashTool.pch" /Yc"stdafx.h" /Fo"Debug/" /Fd"Debug/" /FD /GZ /c
  21 +"H:\BlueFlashTool\StdAfx.cpp"
  22 +]
  23 +Creating command line "cl.exe @C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF76.tmp"
  24 +Creating temporary file "C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF77.tmp" with contents
  25 +[
  26 +/nologo /subsystem:windows /incremental:yes /pdb:"Debug/BlueFlashTool.pdb" /debug /machine:I386 /out:"Debug/BlueFlashTool.exe" /pdbtype:sept
  27 +.\Debug\BlueFlashTool.obj
  28 +.\Debug\BlueFlashToolDlg.obj
  29 +.\Debug\mscomm.obj
  30 +.\Debug\StdAfx.obj
  31 +.\Debug\BlueFlashTool.res
  32 +]
  33 +Creating command line "link.exe @C:\Users\ADMINI~1\AppData\Local\Temp\RSPDF77.tmp"
  34 +<h3>Output Window</h3>
  35 +Compiling resources...
  36 +Compiling...
  37 +StdAfx.cpp
  38 +Compiling...
  39 +BlueFlashTool.cpp
  40 +BlueFlashToolDlg.cpp
  41 +mscomm.cpp
  42 +Generating Code...
  43 +Linking...
  44 +
  45 +
  46 +
  47 +<h3>Results</h3>
  48 +BlueFlashTool.exe - 0 error(s), 0 warning(s)
  49 +</pre>
  50 +</body>
  51 +</html>
... ...
  1 +//Microsoft Developer Studio generated resource script.
  2 +//
  3 +#include "resource.h"
  4 +
  5 +#define APSTUDIO_READONLY_SYMBOLS
  6 +/////////////////////////////////////////////////////////////////////////////
  7 +//
  8 +// Generated from the TEXTINCLUDE 2 resource.
  9 +//
  10 +#include "afxres.h"
  11 +
  12 +/////////////////////////////////////////////////////////////////////////////
  13 +#undef APSTUDIO_READONLY_SYMBOLS
  14 +
  15 +/////////////////////////////////////////////////////////////////////////////
  16 +// Chinese (P.R.C.) resources
  17 +
  18 +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  19 +#ifdef _WIN32
  20 +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
  21 +#pragma code_page(936)
  22 +#endif //_WIN32
  23 +
  24 +#ifdef APSTUDIO_INVOKED
  25 +/////////////////////////////////////////////////////////////////////////////
  26 +//
  27 +// TEXTINCLUDE
  28 +//
  29 +
  30 +1 TEXTINCLUDE DISCARDABLE
  31 +BEGIN
  32 + "resource.h\0"
  33 +END
  34 +
  35 +2 TEXTINCLUDE DISCARDABLE
  36 +BEGIN
  37 + "#include ""afxres.h""\r\n"
  38 + "\0"
  39 +END
  40 +
  41 +3 TEXTINCLUDE DISCARDABLE
  42 +BEGIN
  43 + "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  44 + "#define _AFX_NO_OLE_RESOURCES\r\n"
  45 + "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  46 + "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  47 + "\r\n"
  48 + "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n"
  49 + "#ifdef _WIN32\r\n"
  50 + "LANGUAGE 4, 2\r\n"
  51 + "#pragma code_page(936)\r\n"
  52 + "#endif //_WIN32\r\n"
  53 + "#include ""res\\BlueFlashTool.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  54 + "#include ""l.chs\\afxres.rc"" // Standard components\r\n"
  55 + "#endif\r\n"
  56 + "\0"
  57 +END
  58 +
  59 +#endif // APSTUDIO_INVOKED
  60 +
  61 +
  62 +/////////////////////////////////////////////////////////////////////////////
  63 +//
  64 +// Icon
  65 +//
  66 +
  67 +// Icon with lowest ID value placed first to ensure application icon
  68 +// remains consistent on all systems.
  69 +IDR_MAINFRAME ICON DISCARDABLE "res\\BlueFlashTool.ico"
  70 +
  71 +/////////////////////////////////////////////////////////////////////////////
  72 +//
  73 +// Dialog
  74 +//
  75 +
  76 +IDD_BLUEFLASHTOOL_DIALOG DIALOGEX 0, 0, 566, 367
  77 +STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  78 +EXSTYLE WS_EX_APPWINDOW
  79 +CAPTION "BlueFlashTool"
  80 +FONT 9, "宋体", 0, 0, 0x1
  81 +BEGIN
  82 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP01,0,1,232,51
  83 + CONTROL "耳机",IDC_CHECK_EAR01,"Button",BS_AUTOCHECKBOX |
  84 + WS_TABSTOP,8,15,32,10
  85 + CONTROL "发射器",IDC_CHECK_USB01,"Button",BS_AUTOCHECKBOX |
  86 + WS_TABSTOP,8,34,40,10
  87 + CONTROL "Progress1",IDC_PROGRESS_EAR01,"msctls_progress32",
  88 + PBS_SMOOTH | WS_BORDER,57,15,102,14
  89 + CONTROL "Progress1",IDC_PROGRESS_USB01,"msctls_progress32",
  90 + PBS_SMOOTH | WS_BORDER,57,34,102,14
  91 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR01,169,15,50,14
  92 + PUSHBUTTON "开始",IDC_BUTTON_START_USB01,169,34,50,14
  93 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP2,0,60,232,51
  94 + CONTROL "耳机",IDC_CHECK_EAR2,"Button",BS_AUTOCHECKBOX |
  95 + WS_TABSTOP,8,74,32,10
  96 + CONTROL "发射器",IDC_CHECK_USB2,"Button",BS_AUTOCHECKBOX |
  97 + WS_TABSTOP,8,93,40,10
  98 + CONTROL "Progress1",IDC_PROGRESS_EAR2,"msctls_progress32",
  99 + PBS_SMOOTH | WS_BORDER,57,74,102,14
  100 + CONTROL "Progress1",IDC_PROGRESS_USB2,"msctls_progress32",
  101 + PBS_SMOOTH | WS_BORDER,57,93,102,14
  102 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR2,169,74,50,14
  103 + PUSHBUTTON "开始",IDC_BUTTON_START_USB2,169,93,50,14
  104 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP3,0,120,232,51
  105 + CONTROL "耳机",IDC_CHECK_EAR3,"Button",BS_AUTOCHECKBOX |
  106 + WS_TABSTOP,8,134,32,10
  107 + CONTROL "发射器",IDC_CHECK_USB3,"Button",BS_AUTOCHECKBOX |
  108 + WS_TABSTOP,8,153,40,10
  109 + CONTROL "Progress1",IDC_PROGRESS_EAR3,"msctls_progress32",
  110 + PBS_SMOOTH | WS_BORDER,57,134,102,14
  111 + CONTROL "Progress1",IDC_PROGRESS_USB3,"msctls_progress32",
  112 + PBS_SMOOTH | WS_BORDER,57,153,102,14
  113 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR3,169,134,50,14
  114 + PUSHBUTTON "开始",IDC_BUTTON_START_USB3,169,153,50,14
  115 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP4,0,180,232,51
  116 + CONTROL "耳机",IDC_CHECK_EAR4,"Button",BS_AUTOCHECKBOX |
  117 + WS_TABSTOP,8,194,32,10
  118 + CONTROL "发射器",IDC_CHECK_USB4,"Button",BS_AUTOCHECKBOX |
  119 + WS_TABSTOP,8,213,40,10
  120 + CONTROL "Progress1",IDC_PROGRESS_EAR4,"msctls_progress32",
  121 + PBS_SMOOTH | WS_BORDER,57,194,102,14
  122 + CONTROL "Progress1",IDC_PROGRESS_USB4,"msctls_progress32",
  123 + PBS_SMOOTH | WS_BORDER,57,213,102,14
  124 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR4,169,194,50,14
  125 + PUSHBUTTON "开始",IDC_BUTTON_START_USB4,169,213,50,14
  126 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP5,0,240,232,51
  127 + CONTROL "耳机",IDC_CHECK_EAR5,"Button",BS_AUTOCHECKBOX |
  128 + WS_TABSTOP,8,254,32,10
  129 + CONTROL "发射器",IDC_CHECK_USB5,"Button",BS_AUTOCHECKBOX |
  130 + WS_TABSTOP,8,273,40,10
  131 + CONTROL "Progress1",IDC_PROGRESS_EAR5,"msctls_progress32",
  132 + PBS_SMOOTH | WS_BORDER,57,254,102,14
  133 + CONTROL "Progress1",IDC_PROGRESS_USB5,"msctls_progress32",
  134 + PBS_SMOOTH | WS_BORDER,57,273,102,14
  135 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR5,169,254,50,14
  136 + PUSHBUTTON "开始",IDC_BUTTON_START_USB5,169,273,50,14
  137 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP6,245,0,232,51
  138 + CONTROL "耳机",IDC_CHECK_EAR6,"Button",BS_AUTOCHECKBOX |
  139 + WS_TABSTOP,253,14,32,10
  140 + CONTROL "发射器",IDC_CHECK_USB6,"Button",BS_AUTOCHECKBOX |
  141 + WS_TABSTOP,253,33,40,10
  142 + CONTROL "Progress1",IDC_PROGRESS_EAR6,"msctls_progress32",
  143 + PBS_SMOOTH | WS_BORDER,303,14,102,14
  144 + CONTROL "Progress1",IDC_PROGRESS_USB6,"msctls_progress32",
  145 + PBS_SMOOTH | WS_BORDER,303,33,102,14
  146 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR6,415,14,50,14
  147 + PUSHBUTTON "开始",IDC_BUTTON_START_USB6,415,33,50,14
  148 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP7,245,60,232,51
  149 + CONTROL "耳机",IDC_CHECK_EAR7,"Button",BS_AUTOCHECKBOX |
  150 + WS_TABSTOP,253,74,32,10
  151 + CONTROL "发射器",IDC_CHECK_USB7,"Button",BS_AUTOCHECKBOX |
  152 + WS_TABSTOP,253,93,40,10
  153 + CONTROL "Progress1",IDC_PROGRESS_EAR7,"msctls_progress32",
  154 + PBS_SMOOTH | WS_BORDER,303,74,102,14
  155 + CONTROL "Progress1",IDC_PROGRESS_USB7,"msctls_progress32",
  156 + PBS_SMOOTH | WS_BORDER,303,93,102,14
  157 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR7,415,74,50,14
  158 + PUSHBUTTON "开始",IDC_BUTTON_START_USB7,415,93,50,14
  159 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP8,245,120,232,51
  160 + CONTROL "耳机",IDC_CHECK_EAR8,"Button",BS_AUTOCHECKBOX |
  161 + WS_TABSTOP,253,134,32,10
  162 + CONTROL "发射器",IDC_CHECK_USB8,"Button",BS_AUTOCHECKBOX |
  163 + WS_TABSTOP,253,153,40,10
  164 + CONTROL "Progress1",IDC_PROGRESS_EAR8,"msctls_progress32",
  165 + PBS_SMOOTH | WS_BORDER,303,134,102,14
  166 + CONTROL "Progress1",IDC_PROGRESS_USB8,"msctls_progress32",
  167 + PBS_SMOOTH | WS_BORDER,303,153,102,14
  168 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR8,415,134,50,14
  169 + PUSHBUTTON "开始",IDC_BUTTON_START_USB8,415,153,50,14
  170 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP9,245,180,232,51
  171 + CONTROL "耳机",IDC_CHECK_EAR9,"Button",BS_AUTOCHECKBOX |
  172 + WS_TABSTOP,253,194,32,10
  173 + CONTROL "发射器",IDC_CHECK_USB9,"Button",BS_AUTOCHECKBOX |
  174 + WS_TABSTOP,253,213,40,10
  175 + CONTROL "Progress1",IDC_PROGRESS_EAR9,"msctls_progress32",
  176 + PBS_SMOOTH | WS_BORDER,303,194,102,14
  177 + CONTROL "Progress1",IDC_PROGRESS_USB9,"msctls_progress32",
  178 + PBS_SMOOTH | WS_BORDER,303,213,102,14
  179 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR9,415,194,50,14
  180 + PUSHBUTTON "开始",IDC_BUTTON_START_USB9,415,213,50,14
  181 + GROUPBOX "SN:000000000000",IDC_STATIC_GROUP10,245,240,232,51
  182 + CONTROL "耳机",IDC_CHECK_EAR10,"Button",BS_AUTOCHECKBOX |
  183 + WS_TABSTOP,253,254,32,10
  184 + CONTROL "发射器",IDC_CHECK_USB10,"Button",BS_AUTOCHECKBOX |
  185 + WS_TABSTOP,253,273,40,10
  186 + CONTROL "Progress1",IDC_PROGRESS_EAR10,"msctls_progress32",
  187 + PBS_SMOOTH | WS_BORDER,303,254,102,14
  188 + CONTROL "Progress1",IDC_PROGRESS_USB10,"msctls_progress32",
  189 + PBS_SMOOTH | WS_BORDER,303,273,102,14
  190 + PUSHBUTTON "开始",IDC_BUTTON_START_EAR10,415,254,50,14
  191 + PUSHBUTTON "开始",IDC_BUTTON_START_USB10,415,273,50,14
  192 + PUSHBUTTON "全部开始",IDC_START_ALL,10,300,50,14
  193 + PUSHBUTTON "全部停止",IDC_STOP_ALL,75,300,50,14
  194 + PUSHBUTTON "参数设置",IDC_BUTTON_SETTING,425,300,50,14
  195 + CONTROL "",IDC_MSCOMM0,"{648A5600-2C6E-101B-82B6-000000000014}",
  196 + WS_TABSTOP,0,342,25,25
  197 + CONTROL "",IDC_MSCOMM1,"{648A5600-2C6E-101B-82B6-000000000014}",
  198 + WS_TABSTOP,26,342,25,25
  199 + CONTROL "",IDC_MSCOMM2,"{648A5600-2C6E-101B-82B6-000000000014}",
  200 + WS_TABSTOP,52,342,25,25
  201 + CONTROL "",IDC_MSCOMM3,"{648A5600-2C6E-101B-82B6-000000000014}",
  202 + WS_TABSTOP,78,342,25,25
  203 + CONTROL "",IDC_MSCOMM4,"{648A5600-2C6E-101B-82B6-000000000014}",
  204 + WS_TABSTOP,104,342,25,25
  205 + CONTROL "",IDC_MSCOMM5,"{648A5600-2C6E-101B-82B6-000000000014}",
  206 + WS_TABSTOP,130,342,25,25
  207 + CONTROL "",IDC_MSCOMM6,"{648A5600-2C6E-101B-82B6-000000000014}",
  208 + WS_TABSTOP,156,342,25,25
  209 + CONTROL "",IDC_MSCOMM7,"{648A5600-2C6E-101B-82B6-000000000014}",
  210 + WS_TABSTOP,182,342,25,25
  211 + CONTROL "",IDC_MSCOMM8,"{648A5600-2C6E-101B-82B6-000000000014}",
  212 + WS_TABSTOP,208,342,25,25
  213 + CONTROL "",IDC_MSCOMM9,"{648A5600-2C6E-101B-82B6-000000000014}",
  214 + WS_TABSTOP,234,342,25,25
  215 + CONTROL "",IDC_MSCOMM10,"{648A5600-2C6E-101B-82B6-000000000014}",
  216 + WS_TABSTOP,260,342,25,25
  217 + CONTROL "",IDC_MSCOMM11,"{648A5600-2C6E-101B-82B6-000000000014}",
  218 + WS_TABSTOP,286,342,25,25
  219 + CONTROL "",IDC_MSCOMM12,"{648A5600-2C6E-101B-82B6-000000000014}",
  220 + WS_TABSTOP,312,342,25,25
  221 + CONTROL "",IDC_MSCOMM13,"{648A5600-2C6E-101B-82B6-000000000014}",
  222 + WS_TABSTOP,338,342,25,25
  223 + CONTROL "",IDC_MSCOMM14,"{648A5600-2C6E-101B-82B6-000000000014}",
  224 + WS_TABSTOP,364,342,25,25
  225 + CONTROL "",IDC_MSCOMM15,"{648A5600-2C6E-101B-82B6-000000000014}",
  226 + WS_TABSTOP,390,342,25,25
  227 + CONTROL "",IDC_MSCOMM16,"{648A5600-2C6E-101B-82B6-000000000014}",
  228 + WS_TABSTOP,416,342,25,25
  229 + CONTROL "",IDC_MSCOMM17,"{648A5600-2C6E-101B-82B6-000000000014}",
  230 + WS_TABSTOP,442,342,25,25
  231 + CONTROL "",IDC_MSCOMM18,"{648A5600-2C6E-101B-82B6-000000000014}",
  232 + WS_TABSTOP,468,342,25,25
  233 + CONTROL "",IDC_MSCOMM19,"{648A5600-2C6E-101B-82B6-000000000014}",
  234 + WS_TABSTOP,494,342,25,25
  235 + CONTROL "",IDC_MSCOMM20,"{648A5600-2C6E-101B-82B6-000000000014}",
  236 + WS_TABSTOP,520,342,25,25
  237 +END
  238 +
  239 +IDD_SYSTEM_CONFIG DIALOG DISCARDABLE 0, 0, 187, 96
  240 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  241 +CAPTION "Dialog"
  242 +FONT 10, "System"
  243 +BEGIN
  244 + DEFPUSHBUTTON "OK",IDOK,130,7,50,14
  245 + PUSHBUTTON "Cancel",IDCANCEL,130,24,50,14
  246 +END
  247 +
  248 +
  249 +#ifndef _MAC
  250 +/////////////////////////////////////////////////////////////////////////////
  251 +//
  252 +// Version
  253 +//
  254 +
  255 +VS_VERSION_INFO VERSIONINFO
  256 + FILEVERSION 1,0,0,1
  257 + PRODUCTVERSION 1,0,0,1
  258 + FILEFLAGSMASK 0x3fL
  259 +#ifdef _DEBUG
  260 + FILEFLAGS 0x1L
  261 +#else
  262 + FILEFLAGS 0x0L
  263 +#endif
  264 + FILEOS 0x4L
  265 + FILETYPE 0x1L
  266 + FILESUBTYPE 0x0L
  267 +BEGIN
  268 + BLOCK "StringFileInfo"
  269 + BEGIN
  270 + BLOCK "080404B0"
  271 + BEGIN
  272 + VALUE "CompanyName", "\0"
  273 + VALUE "FileDescription", "BlueFlashTool Microsoft 基础类应用程序\0"
  274 + VALUE "FileVersion", "1, 0, 0, 1\0"
  275 + VALUE "InternalName", "BlueFlashTool\0"
  276 + VALUE "LegalCopyright", "版权所有 (C) 2021\0"
  277 + VALUE "LegalTrademarks", "\0"
  278 + VALUE "OriginalFilename", "BlueFlashTool.EXE\0"
  279 + VALUE "ProductName", "BlueFlashTool 应用程序\0"
  280 + VALUE "ProductVersion", "1, 0, 0, 1\0"
  281 + END
  282 + END
  283 + BLOCK "VarFileInfo"
  284 + BEGIN
  285 + VALUE "Translation", 0x804, 1200
  286 + END
  287 +END
  288 +
  289 +#endif // !_MAC
  290 +
  291 +
  292 +/////////////////////////////////////////////////////////////////////////////
  293 +//
  294 +// DESIGNINFO
  295 +//
  296 +
  297 +#ifdef APSTUDIO_INVOKED
  298 +GUIDELINES DESIGNINFO DISCARDABLE
  299 +BEGIN
  300 + IDD_BLUEFLASHTOOL_DIALOG, DIALOG
  301 + BEGIN
  302 + LEFTMARGIN, 7
  303 + RIGHTMARGIN, 559
  304 + TOPMARGIN, 7
  305 + BOTTOMMARGIN, 360
  306 + END
  307 +
  308 + IDD_SYSTEM_CONFIG, DIALOG
  309 + BEGIN
  310 + LEFTMARGIN, 7
  311 + RIGHTMARGIN, 180
  312 + TOPMARGIN, 7
  313 + BOTTOMMARGIN, 89
  314 + END
  315 +END
  316 +#endif // APSTUDIO_INVOKED
  317 +
  318 +
  319 +/////////////////////////////////////////////////////////////////////////////
  320 +//
  321 +// Dialog Info
  322 +//
  323 +
  324 +IDD_BLUEFLASHTOOL_DIALOG DLGINIT
  325 +BEGIN
  326 + IDC_MSCOMM0, 0x376, 102, 0
  327 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  328 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  329 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  330 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  331 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  332 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  333 + IDC_MSCOMM1, 0x376, 102, 0
  334 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  335 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  336 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  337 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  338 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  339 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  340 + IDC_MSCOMM2, 0x376, 102, 0
  341 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  342 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  343 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  344 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  345 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  346 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  347 + IDC_MSCOMM3, 0x376, 102, 0
  348 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  349 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  350 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  351 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  352 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  353 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  354 + IDC_MSCOMM4, 0x376, 102, 0
  355 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  356 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  357 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  358 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  359 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  360 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  361 + IDC_MSCOMM5, 0x376, 102, 0
  362 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  363 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  364 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  365 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  366 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  367 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  368 + IDC_MSCOMM6, 0x376, 102, 0
  369 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  370 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  371 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  372 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  373 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  374 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  375 + IDC_MSCOMM7, 0x376, 102, 0
  376 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  377 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  378 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  379 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  380 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  381 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  382 + IDC_MSCOMM8, 0x376, 102, 0
  383 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  384 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  385 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  386 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  387 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  388 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  389 + IDC_MSCOMM9, 0x376, 102, 0
  390 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  391 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  392 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  393 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  394 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  395 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  396 + IDC_MSCOMM10, 0x376, 102, 0
  397 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  398 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  399 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  400 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  401 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  402 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  403 + IDC_MSCOMM11, 0x376, 102, 0
  404 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  405 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  406 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  407 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  408 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  409 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  410 + IDC_MSCOMM12, 0x376, 102, 0
  411 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  412 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  413 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  414 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  415 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  416 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  417 + IDC_MSCOMM13, 0x376, 102, 0
  418 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  419 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  420 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  421 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  422 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  423 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  424 + IDC_MSCOMM14, 0x376, 102, 0
  425 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  426 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  427 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  428 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  429 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  430 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  431 + IDC_MSCOMM15, 0x376, 102, 0
  432 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  433 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  434 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  435 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  436 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  437 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  438 + IDC_MSCOMM16, 0x376, 102, 0
  439 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  440 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  441 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  442 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  443 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  444 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  445 + IDC_MSCOMM17, 0x376, 102, 0
  446 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  447 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  448 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  449 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  450 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  451 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  452 + IDC_MSCOMM18, 0x376, 102, 0
  453 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  454 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  455 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  456 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  457 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  458 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  459 + IDC_MSCOMM19, 0x376, 102, 0
  460 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  461 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  462 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  463 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  464 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  465 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  466 + IDC_MSCOMM20, 0x376, 102, 0
  467 +0x0013, 0x0000, 0x0043, 0x006f, 0x0070, 0x0079, 0x0072, 0x0069, 0x0067,
  468 +0x0068, 0x0074, 0x0020, 0x0028, 0x0063, 0x0029, 0x0020, 0x0031, 0x0039,
  469 +0x0039, 0x0034, 0x0020, 0x4321, 0x1234, 0x0008, 0x0000, 0x03ed, 0x0000,
  470 +0x03ed, 0x0000, 0x5601, 0x648a, 0x0000, 0x0006, 0x0000, 0x0001, 0x0400,
  471 +0x0000, 0x0200, 0x0000, 0x2580, 0x0000, 0x0000, 0x0008, 0x0000, 0x0000,
  472 +0x0000, 0x0000, 0x003f, 0x0000, 0x0001, 0x0000,
  473 + 0
  474 +END
  475 +
  476 +#endif // Chinese (P.R.C.) resources
  477 +/////////////////////////////////////////////////////////////////////////////
  478 +
  479 +
  480 +
  481 +#ifndef APSTUDIO_INVOKED
  482 +/////////////////////////////////////////////////////////////////////////////
  483 +//
  484 +// Generated from the TEXTINCLUDE 3 resource.
  485 +//
  486 +#define _AFX_NO_SPLITTER_RESOURCES
  487 +#define _AFX_NO_OLE_RESOURCES
  488 +#define _AFX_NO_TRACKER_RESOURCES
  489 +#define _AFX_NO_PROPERTY_RESOURCES
  490 +
  491 +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)
  492 +#ifdef _WIN32
  493 +LANGUAGE 4, 2
  494 +#pragma code_page(936)
  495 +#endif //_WIN32
  496 +#include "res\BlueFlashTool.rc2" // non-Microsoft Visual C++ edited resources
  497 +#include "l.chs\afxres.rc" // Standard components
  498 +#endif
  499 +
  500 +/////////////////////////////////////////////////////////////////////////////
  501 +#endif // not APSTUDIO_INVOKED
  502 +
... ...
  1 +// BlueFlashToolDlg.cpp : implementation file
  2 +//
  3 +
  4 +#include "stdafx.h"
  5 +#include "BlueFlashTool.h"
  6 +#include "BlueFlashToolDlg.h"
  7 +
  8 +#ifdef _DEBUG
  9 +#define new DEBUG_NEW
  10 +#undef THIS_FILE
  11 +static char THIS_FILE[] = __FILE__;
  12 +#endif
  13 +
  14 +/////////////////////////////////////////////////////////////////////////////
  15 +// CBlueFlashToolDlg dialog
  16 +
  17 +CBlueFlashToolDlg::CBlueFlashToolDlg(CWnd* pParent /*=NULL*/)
  18 + : CDialog(CBlueFlashToolDlg::IDD, pParent)
  19 +{
  20 + //{{AFX_DATA_INIT(CBlueFlashToolDlg)
  21 + // NOTE: the ClassWizard will add member initialization here
  22 + //}}AFX_DATA_INIT
  23 + // Note that LoadIcon does not require a subsequent DestroyIcon in Win32
  24 + m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
  25 +}
  26 +
  27 +void CBlueFlashToolDlg::DoDataExchange(CDataExchange* pDX)
  28 +{
  29 + CDialog::DoDataExchange(pDX);
  30 + //{{AFX_DATA_MAP(CBlueFlashToolDlg)
  31 + DDX_Control(pDX, IDC_MSCOMM0, mycom);
  32 + //}}AFX_DATA_MAP
  33 +}
  34 +
  35 +BEGIN_MESSAGE_MAP(CBlueFlashToolDlg, CDialog)
  36 + //{{AFX_MSG_MAP(CBlueFlashToolDlg)
  37 + ON_WM_PAINT()
  38 + ON_WM_QUERYDRAGICON()
  39 + //}}AFX_MSG_MAP
  40 +END_MESSAGE_MAP()
  41 +
  42 +/////////////////////////////////////////////////////////////////////////////
  43 +// CBlueFlashToolDlg message handlers
  44 +
  45 +BOOL CBlueFlashToolDlg::OnInitDialog()
  46 +{
  47 + CDialog::OnInitDialog();
  48 +
  49 + // Set the icon for this dialog. The framework does this automatically
  50 + // when the application's main window is not a dialog
  51 + SetIcon(m_hIcon, TRUE); // Set big icon
  52 + SetIcon(m_hIcon, FALSE); // Set small icon
  53 +
  54 + // TODO: Add extra initialization here
  55 +
  56 + return TRUE; // return TRUE unless you set the focus to a control
  57 +}
  58 +
  59 +// If you add a minimize button to your dialog, you will need the code below
  60 +// to draw the icon. For MFC applications using the document/view model,
  61 +// this is automatically done for you by the framework.
  62 +
  63 +void CBlueFlashToolDlg::OnPaint()
  64 +{
  65 + if (IsIconic())
  66 + {
  67 + CPaintDC dc(this); // device context for painting
  68 +
  69 + SendMessage(WM_ICONERASEBKGND, (WPARAM) dc.GetSafeHdc(), 0);
  70 +
  71 + // Center icon in client rectangle
  72 + int cxIcon = GetSystemMetrics(SM_CXICON);
  73 + int cyIcon = GetSystemMetrics(SM_CYICON);
  74 + CRect rect;
  75 + GetClientRect(&rect);
  76 + int x = (rect.Width() - cxIcon + 1) / 2;
  77 + int y = (rect.Height() - cyIcon + 1) / 2;
  78 +
  79 + // Draw the icon
  80 + dc.DrawIcon(x, y, m_hIcon);
  81 + }
  82 + else
  83 + {
  84 + CDialog::OnPaint();
  85 + }
  86 +}
  87 +
  88 +// The system calls this to obtain the cursor to display while the user drags
  89 +// the minimized window.
  90 +HCURSOR CBlueFlashToolDlg::OnQueryDragIcon()
  91 +{
  92 + return (HCURSOR) m_hIcon;
  93 +}
... ...
  1 +// BlueFlashToolDlg.h : header file
  2 +//
  3 +//{{AFX_INCLUDES()
  4 +#include "mscomm.h"
  5 +//}}AFX_INCLUDES
  6 +
  7 +#if !defined(AFX_BLUEFLASHTOOLDLG_H__DE44DC07_CA43_417C_A12F_149A2C736BB5__INCLUDED_)
  8 +#define AFX_BLUEFLASHTOOLDLG_H__DE44DC07_CA43_417C_A12F_149A2C736BB5__INCLUDED_
  9 +
  10 +#if _MSC_VER > 1000
  11 +#pragma once
  12 +#endif // _MSC_VER > 1000
  13 +
  14 +/////////////////////////////////////////////////////////////////////////////
  15 +// CBlueFlashToolDlg dialog
  16 +
  17 +class CBlueFlashToolDlg : public CDialog
  18 +{
  19 +// Construction
  20 +public:
  21 + CBlueFlashToolDlg(CWnd* pParent = NULL); // standard constructor
  22 +
  23 +// Dialog Data
  24 + //{{AFX_DATA(CBlueFlashToolDlg)
  25 + enum { IDD = IDD_BLUEFLASHTOOL_DIALOG };
  26 + CMSComm mycom;
  27 + //}}AFX_DATA
  28 +
  29 + // ClassWizard generated virtual function overrides
  30 + //{{AFX_VIRTUAL(CBlueFlashToolDlg)
  31 + protected:
  32 + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  33 + //}}AFX_VIRTUAL
  34 +
  35 +// Implementation
  36 +protected:
  37 + HICON m_hIcon;
  38 +
  39 + // Generated message map functions
  40 + //{{AFX_MSG(CBlueFlashToolDlg)
  41 + virtual BOOL OnInitDialog();
  42 + afx_msg void OnPaint();
  43 + afx_msg HCURSOR OnQueryDragIcon();
  44 + //}}AFX_MSG
  45 + DECLARE_MESSAGE_MAP()
  46 +};
  47 +
  48 +//{{AFX_INSERT_LOCATION}}
  49 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50 +
  51 +#endif // !defined(AFX_BLUEFLASHTOOLDLG_H__DE44DC07_CA43_417C_A12F_149A2C736BB5__INCLUDED_)
... ...
  1 +========================================================================
  2 + MICROSOFT FOUNDATION CLASS LIBRARY : BlueFlashTool
  3 +========================================================================
  4 +
  5 +
  6 +AppWizard has created this BlueFlashTool application for you. This application
  7 +not only demonstrates the basics of using the Microsoft Foundation classes
  8 +but is also a starting point for writing your application.
  9 +
  10 +This file contains a summary of what you will find in each of the files that
  11 +make up your BlueFlashTool application.
  12 +
  13 +BlueFlashTool.dsp
  14 + This file (the project file) contains information at the project level and
  15 + is used to build a single project or subproject. Other users can share the
  16 + project (.dsp) file, but they should export the makefiles locally.
  17 +
  18 +BlueFlashTool.h
  19 + This is the main header file for the application. It includes other
  20 + project specific headers (including Resource.h) and declares the
  21 + CBlueFlashToolApp application class.
  22 +
  23 +BlueFlashTool.cpp
  24 + This is the main application source file that contains the application
  25 + class CBlueFlashToolApp.
  26 +
  27 +BlueFlashTool.rc
  28 + This is a listing of all of the Microsoft Windows resources that the
  29 + program uses. It includes the icons, bitmaps, and cursors that are stored
  30 + in the RES subdirectory. This file can be directly edited in Microsoft
  31 + Visual C++.
  32 +
  33 +BlueFlashTool.clw
  34 + This file contains information used by ClassWizard to edit existing
  35 + classes or add new classes. ClassWizard also uses this file to store
  36 + information needed to create and edit message maps and dialog data
  37 + maps and to create prototype member functions.
  38 +
  39 +res\BlueFlashTool.ico
  40 + This is an icon file, which is used as the application's icon. This
  41 + icon is included by the main resource file BlueFlashTool.rc.
  42 +
  43 +res\BlueFlashTool.rc2
  44 + This file contains resources that are not edited by Microsoft
  45 + Visual C++. You should place all resources not editable by
  46 + the resource editor in this file.
  47 +
  48 +
  49 +
  50 +
  51 +/////////////////////////////////////////////////////////////////////////////
  52 +
  53 +AppWizard creates one dialog class:
  54 +
  55 +BlueFlashToolDlg.h, BlueFlashToolDlg.cpp - the dialog
  56 + These files contain your CBlueFlashToolDlg class. This class defines
  57 + the behavior of your application's main dialog. The dialog's
  58 + template is in BlueFlashTool.rc, which can be edited in Microsoft
  59 + Visual C++.
  60 +
  61 +
  62 +/////////////////////////////////////////////////////////////////////////////
  63 +Other standard files:
  64 +
  65 +StdAfx.h, StdAfx.cpp
  66 + These files are used to build a precompiled header (PCH) file
  67 + named BlueFlashTool.pch and a precompiled types file named StdAfx.obj.
  68 +
  69 +Resource.h
  70 + This is the standard header file, which defines new resource IDs.
  71 + Microsoft Visual C++ reads and updates this file.
  72 +
  73 +/////////////////////////////////////////////////////////////////////////////
  74 +Other notes:
  75 +
  76 +AppWizard uses "TODO:" to indicate parts of the source code you
  77 +should add to or customize.
  78 +
  79 +If your application uses MFC in a shared DLL, and your application is
  80 +in a language other than the operating system's current language, you
  81 +will need to copy the corresponding localized resources MFC42XXX.DLL
  82 +from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
  83 +and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
  84 +For example, MFC42DEU.DLL contains resources translated to German.) If you
  85 +don't do this, some of the UI elements of your application will remain in the
  86 +language of the operating system.
  87 +
  88 +/////////////////////////////////////////////////////////////////////////////
... ...
  1 +// stdafx.cpp : source file that includes just the standard includes
  2 +// BlueFlashTool.pch will be the pre-compiled header
  3 +// stdafx.obj will contain the pre-compiled type information
  4 +
  5 +#include "stdafx.h"
  6 +
  7 +
  8 +
... ...
  1 +// stdafx.h : include file for standard system include files,
  2 +// or project specific include files that are used frequently, but
  3 +// are changed infrequently
  4 +//
  5 +
  6 +#if !defined(AFX_STDAFX_H__BC94D060_2C36_43A8_BAA1_30E1771BCA95__INCLUDED_)
  7 +#define AFX_STDAFX_H__BC94D060_2C36_43A8_BAA1_30E1771BCA95__INCLUDED_
  8 +
  9 +#if _MSC_VER > 1000
  10 +#pragma once
  11 +#endif // _MSC_VER > 1000
  12 +
  13 +#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
  14 +
  15 +#include <afxwin.h> // MFC core and standard components
  16 +#include <afxext.h> // MFC extensions
  17 +#include <afxdisp.h> // MFC Automation classes
  18 +#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
  19 +#ifndef _AFX_NO_AFXCMN_SUPPORT
  20 +#include <afxcmn.h> // MFC support for Windows Common Controls
  21 +#endif // _AFX_NO_AFXCMN_SUPPORT
  22 +
  23 +
  24 +//{{AFX_INSERT_LOCATION}}
  25 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  26 +
  27 +#endif // !defined(AFX_STDAFX_H__BC94D060_2C36_43A8_BAA1_30E1771BCA95__INCLUDED_)
... ...
  1 +// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  2 +
  3 +// NOTE: Do not modify the contents of this file. If this class is regenerated by
  4 +// Microsoft Visual C++, your modifications will be overwritten.
  5 +
  6 +
  7 +#include "stdafx.h"
  8 +#include "mscomm.h"
  9 +
  10 +/////////////////////////////////////////////////////////////////////////////
  11 +// CMSComm
  12 +
  13 +IMPLEMENT_DYNCREATE(CMSComm, CWnd)
  14 +
  15 +/////////////////////////////////////////////////////////////////////////////
  16 +// CMSComm properties
  17 +
  18 +/////////////////////////////////////////////////////////////////////////////
  19 +// CMSComm operations
  20 +
  21 +void CMSComm::SetCDHolding(BOOL bNewValue)
  22 +{
  23 + static BYTE parms[] =
  24 + VTS_BOOL;
  25 + InvokeHelper(0x1, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  26 + bNewValue);
  27 +}
  28 +
  29 +BOOL CMSComm::GetCDHolding()
  30 +{
  31 + BOOL result;
  32 + InvokeHelper(0x1, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  33 + return result;
  34 +}
  35 +
  36 +void CMSComm::SetCommID(long nNewValue)
  37 +{
  38 + static BYTE parms[] =
  39 + VTS_I4;
  40 + InvokeHelper(0x3, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  41 + nNewValue);
  42 +}
  43 +
  44 +long CMSComm::GetCommID()
  45 +{
  46 + long result;
  47 + InvokeHelper(0x3, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  48 + return result;
  49 +}
  50 +
  51 +void CMSComm::SetCommPort(short nNewValue)
  52 +{
  53 + static BYTE parms[] =
  54 + VTS_I2;
  55 + InvokeHelper(0x4, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  56 + nNewValue);
  57 +}
  58 +
  59 +short CMSComm::GetCommPort()
  60 +{
  61 + short result;
  62 + InvokeHelper(0x4, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  63 + return result;
  64 +}
  65 +
  66 +void CMSComm::SetCTSHolding(BOOL bNewValue)
  67 +{
  68 + static BYTE parms[] =
  69 + VTS_BOOL;
  70 + InvokeHelper(0x5, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  71 + bNewValue);
  72 +}
  73 +
  74 +BOOL CMSComm::GetCTSHolding()
  75 +{
  76 + BOOL result;
  77 + InvokeHelper(0x5, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  78 + return result;
  79 +}
  80 +
  81 +void CMSComm::SetDSRHolding(BOOL bNewValue)
  82 +{
  83 + static BYTE parms[] =
  84 + VTS_BOOL;
  85 + InvokeHelper(0x7, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  86 + bNewValue);
  87 +}
  88 +
  89 +BOOL CMSComm::GetDSRHolding()
  90 +{
  91 + BOOL result;
  92 + InvokeHelper(0x7, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  93 + return result;
  94 +}
  95 +
  96 +void CMSComm::SetDTREnable(BOOL bNewValue)
  97 +{
  98 + static BYTE parms[] =
  99 + VTS_BOOL;
  100 + InvokeHelper(0x9, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  101 + bNewValue);
  102 +}
  103 +
  104 +BOOL CMSComm::GetDTREnable()
  105 +{
  106 + BOOL result;
  107 + InvokeHelper(0x9, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  108 + return result;
  109 +}
  110 +
  111 +void CMSComm::SetHandshaking(long nNewValue)
  112 +{
  113 + static BYTE parms[] =
  114 + VTS_I4;
  115 + InvokeHelper(0xa, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  116 + nNewValue);
  117 +}
  118 +
  119 +long CMSComm::GetHandshaking()
  120 +{
  121 + long result;
  122 + InvokeHelper(0xa, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  123 + return result;
  124 +}
  125 +
  126 +void CMSComm::SetInBufferSize(short nNewValue)
  127 +{
  128 + static BYTE parms[] =
  129 + VTS_I2;
  130 + InvokeHelper(0xb, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  131 + nNewValue);
  132 +}
  133 +
  134 +short CMSComm::GetInBufferSize()
  135 +{
  136 + short result;
  137 + InvokeHelper(0xb, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  138 + return result;
  139 +}
  140 +
  141 +void CMSComm::SetInBufferCount(short nNewValue)
  142 +{
  143 + static BYTE parms[] =
  144 + VTS_I2;
  145 + InvokeHelper(0xc, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  146 + nNewValue);
  147 +}
  148 +
  149 +short CMSComm::GetInBufferCount()
  150 +{
  151 + short result;
  152 + InvokeHelper(0xc, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  153 + return result;
  154 +}
  155 +
  156 +void CMSComm::SetBreak(BOOL bNewValue)
  157 +{
  158 + static BYTE parms[] =
  159 + VTS_BOOL;
  160 + InvokeHelper(0xd, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  161 + bNewValue);
  162 +}
  163 +
  164 +BOOL CMSComm::GetBreak()
  165 +{
  166 + BOOL result;
  167 + InvokeHelper(0xd, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  168 + return result;
  169 +}
  170 +
  171 +void CMSComm::SetInputLen(short nNewValue)
  172 +{
  173 + static BYTE parms[] =
  174 + VTS_I2;
  175 + InvokeHelper(0xe, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  176 + nNewValue);
  177 +}
  178 +
  179 +short CMSComm::GetInputLen()
  180 +{
  181 + short result;
  182 + InvokeHelper(0xe, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  183 + return result;
  184 +}
  185 +
  186 +void CMSComm::SetNullDiscard(BOOL bNewValue)
  187 +{
  188 + static BYTE parms[] =
  189 + VTS_BOOL;
  190 + InvokeHelper(0x10, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  191 + bNewValue);
  192 +}
  193 +
  194 +BOOL CMSComm::GetNullDiscard()
  195 +{
  196 + BOOL result;
  197 + InvokeHelper(0x10, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  198 + return result;
  199 +}
  200 +
  201 +void CMSComm::SetOutBufferSize(short nNewValue)
  202 +{
  203 + static BYTE parms[] =
  204 + VTS_I2;
  205 + InvokeHelper(0x11, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  206 + nNewValue);
  207 +}
  208 +
  209 +short CMSComm::GetOutBufferSize()
  210 +{
  211 + short result;
  212 + InvokeHelper(0x11, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  213 + return result;
  214 +}
  215 +
  216 +void CMSComm::SetOutBufferCount(short nNewValue)
  217 +{
  218 + static BYTE parms[] =
  219 + VTS_I2;
  220 + InvokeHelper(0x12, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  221 + nNewValue);
  222 +}
  223 +
  224 +short CMSComm::GetOutBufferCount()
  225 +{
  226 + short result;
  227 + InvokeHelper(0x12, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  228 + return result;
  229 +}
  230 +
  231 +void CMSComm::SetParityReplace(LPCTSTR lpszNewValue)
  232 +{
  233 + static BYTE parms[] =
  234 + VTS_BSTR;
  235 + InvokeHelper(0x13, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  236 + lpszNewValue);
  237 +}
  238 +
  239 +CString CMSComm::GetParityReplace()
  240 +{
  241 + CString result;
  242 + InvokeHelper(0x13, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  243 + return result;
  244 +}
  245 +
  246 +void CMSComm::SetPortOpen(BOOL bNewValue)
  247 +{
  248 + static BYTE parms[] =
  249 + VTS_BOOL;
  250 + InvokeHelper(0x14, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  251 + bNewValue);
  252 +}
  253 +
  254 +BOOL CMSComm::GetPortOpen()
  255 +{
  256 + BOOL result;
  257 + InvokeHelper(0x14, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  258 + return result;
  259 +}
  260 +
  261 +void CMSComm::SetRThreshold(short nNewValue)
  262 +{
  263 + static BYTE parms[] =
  264 + VTS_I2;
  265 + InvokeHelper(0x15, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  266 + nNewValue);
  267 +}
  268 +
  269 +short CMSComm::GetRThreshold()
  270 +{
  271 + short result;
  272 + InvokeHelper(0x15, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  273 + return result;
  274 +}
  275 +
  276 +void CMSComm::SetRTSEnable(BOOL bNewValue)
  277 +{
  278 + static BYTE parms[] =
  279 + VTS_BOOL;
  280 + InvokeHelper(0x16, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  281 + bNewValue);
  282 +}
  283 +
  284 +BOOL CMSComm::GetRTSEnable()
  285 +{
  286 + BOOL result;
  287 + InvokeHelper(0x16, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  288 + return result;
  289 +}
  290 +
  291 +void CMSComm::SetSettings(LPCTSTR lpszNewValue)
  292 +{
  293 + static BYTE parms[] =
  294 + VTS_BSTR;
  295 + InvokeHelper(0x17, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  296 + lpszNewValue);
  297 +}
  298 +
  299 +CString CMSComm::GetSettings()
  300 +{
  301 + CString result;
  302 + InvokeHelper(0x17, DISPATCH_PROPERTYGET, VT_BSTR, (void*)&result, NULL);
  303 + return result;
  304 +}
  305 +
  306 +void CMSComm::SetSThreshold(short nNewValue)
  307 +{
  308 + static BYTE parms[] =
  309 + VTS_I2;
  310 + InvokeHelper(0x18, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  311 + nNewValue);
  312 +}
  313 +
  314 +short CMSComm::GetSThreshold()
  315 +{
  316 + short result;
  317 + InvokeHelper(0x18, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  318 + return result;
  319 +}
  320 +
  321 +void CMSComm::SetOutput(const VARIANT& newValue)
  322 +{
  323 + static BYTE parms[] =
  324 + VTS_VARIANT;
  325 + InvokeHelper(0x19, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  326 + &newValue);
  327 +}
  328 +
  329 +VARIANT CMSComm::GetOutput()
  330 +{
  331 + VARIANT result;
  332 + InvokeHelper(0x19, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  333 + return result;
  334 +}
  335 +
  336 +void CMSComm::SetInput(const VARIANT& newValue)
  337 +{
  338 + static BYTE parms[] =
  339 + VTS_VARIANT;
  340 + InvokeHelper(0x1a, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  341 + &newValue);
  342 +}
  343 +
  344 +VARIANT CMSComm::GetInput()
  345 +{
  346 + VARIANT result;
  347 + InvokeHelper(0x1a, DISPATCH_PROPERTYGET, VT_VARIANT, (void*)&result, NULL);
  348 + return result;
  349 +}
  350 +
  351 +void CMSComm::SetCommEvent(short nNewValue)
  352 +{
  353 + static BYTE parms[] =
  354 + VTS_I2;
  355 + InvokeHelper(0x1b, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  356 + nNewValue);
  357 +}
  358 +
  359 +short CMSComm::GetCommEvent()
  360 +{
  361 + short result;
  362 + InvokeHelper(0x1b, DISPATCH_PROPERTYGET, VT_I2, (void*)&result, NULL);
  363 + return result;
  364 +}
  365 +
  366 +void CMSComm::SetEOFEnable(BOOL bNewValue)
  367 +{
  368 + static BYTE parms[] =
  369 + VTS_BOOL;
  370 + InvokeHelper(0x1c, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  371 + bNewValue);
  372 +}
  373 +
  374 +BOOL CMSComm::GetEOFEnable()
  375 +{
  376 + BOOL result;
  377 + InvokeHelper(0x1c, DISPATCH_PROPERTYGET, VT_BOOL, (void*)&result, NULL);
  378 + return result;
  379 +}
  380 +
  381 +void CMSComm::SetInputMode(long nNewValue)
  382 +{
  383 + static BYTE parms[] =
  384 + VTS_I4;
  385 + InvokeHelper(0x1d, DISPATCH_PROPERTYPUT, VT_EMPTY, NULL, parms,
  386 + nNewValue);
  387 +}
  388 +
  389 +long CMSComm::GetInputMode()
  390 +{
  391 + long result;
  392 + InvokeHelper(0x1d, DISPATCH_PROPERTYGET, VT_I4, (void*)&result, NULL);
  393 + return result;
  394 +}
... ...
  1 +#if !defined(AFX_MSCOMM_H__F0224F69_7A8C_4F5C_8A33_D81C42B66156__INCLUDED_)
  2 +#define AFX_MSCOMM_H__F0224F69_7A8C_4F5C_8A33_D81C42B66156__INCLUDED_
  3 +
  4 +#if _MSC_VER > 1000
  5 +#pragma once
  6 +#endif // _MSC_VER > 1000
  7 +// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  8 +
  9 +// NOTE: Do not modify the contents of this file. If this class is regenerated by
  10 +// Microsoft Visual C++, your modifications will be overwritten.
  11 +
  12 +/////////////////////////////////////////////////////////////////////////////
  13 +// CMSComm wrapper class
  14 +
  15 +class CMSComm : public CWnd
  16 +{
  17 +protected:
  18 + DECLARE_DYNCREATE(CMSComm)
  19 +public:
  20 + CLSID const& GetClsid()
  21 + {
  22 + static CLSID const clsid
  23 + = { 0x648a5600, 0x2c6e, 0x101b, { 0x82, 0xb6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14 } };
  24 + return clsid;
  25 + }
  26 + virtual BOOL Create(LPCTSTR lpszClassName,
  27 + LPCTSTR lpszWindowName, DWORD dwStyle,
  28 + const RECT& rect,
  29 + CWnd* pParentWnd, UINT nID,
  30 + CCreateContext* pContext = NULL)
  31 + { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  32 +
  33 + BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  34 + const RECT& rect, CWnd* pParentWnd, UINT nID,
  35 + CFile* pPersist = NULL, BOOL bStorage = FALSE,
  36 + BSTR bstrLicKey = NULL)
  37 + { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  38 + pPersist, bStorage, bstrLicKey); }
  39 +
  40 +// Attributes
  41 +public:
  42 +
  43 +// Operations
  44 +public:
  45 + void SetCDHolding(BOOL bNewValue);
  46 + BOOL GetCDHolding();
  47 + void SetCommID(long nNewValue);
  48 + long GetCommID();
  49 + void SetCommPort(short nNewValue);
  50 + short GetCommPort();
  51 + void SetCTSHolding(BOOL bNewValue);
  52 + BOOL GetCTSHolding();
  53 + void SetDSRHolding(BOOL bNewValue);
  54 + BOOL GetDSRHolding();
  55 + void SetDTREnable(BOOL bNewValue);
  56 + BOOL GetDTREnable();
  57 + void SetHandshaking(long nNewValue);
  58 + long GetHandshaking();
  59 + void SetInBufferSize(short nNewValue);
  60 + short GetInBufferSize();
  61 + void SetInBufferCount(short nNewValue);
  62 + short GetInBufferCount();
  63 + void SetBreak(BOOL bNewValue);
  64 + BOOL GetBreak();
  65 + void SetInputLen(short nNewValue);
  66 + short GetInputLen();
  67 + void SetNullDiscard(BOOL bNewValue);
  68 + BOOL GetNullDiscard();
  69 + void SetOutBufferSize(short nNewValue);
  70 + short GetOutBufferSize();
  71 + void SetOutBufferCount(short nNewValue);
  72 + short GetOutBufferCount();
  73 + void SetParityReplace(LPCTSTR lpszNewValue);
  74 + CString GetParityReplace();
  75 + void SetPortOpen(BOOL bNewValue);
  76 + BOOL GetPortOpen();
  77 + void SetRThreshold(short nNewValue);
  78 + short GetRThreshold();
  79 + void SetRTSEnable(BOOL bNewValue);
  80 + BOOL GetRTSEnable();
  81 + void SetSettings(LPCTSTR lpszNewValue);
  82 + CString GetSettings();
  83 + void SetSThreshold(short nNewValue);
  84 + short GetSThreshold();
  85 + void SetOutput(const VARIANT& newValue);
  86 + VARIANT GetOutput();
  87 + void SetInput(const VARIANT& newValue);
  88 + VARIANT GetInput();
  89 + void SetCommEvent(short nNewValue);
  90 + short GetCommEvent();
  91 + void SetEOFEnable(BOOL bNewValue);
  92 + BOOL GetEOFEnable();
  93 + void SetInputMode(long nNewValue);
  94 + long GetInputMode();
  95 +};
  96 +
  97 +//{{AFX_INSERT_LOCATION}}
  98 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  99 +
  100 +#endif // !defined(AFX_MSCOMM_H__F0224F69_7A8C_4F5C_8A33_D81C42B66156__INCLUDED_)
... ...
No preview for this file type
  1 +//
  2 +// BLUEFLASHTOOL.RC2 - resources Microsoft Visual C++ does not edit directly
  3 +//
  4 +
  5 +#ifdef APSTUDIO_INVOKED
  6 + #error this file is not editable by Microsoft Visual C++
  7 +#endif //APSTUDIO_INVOKED
  8 +
  9 +
  10 +/////////////////////////////////////////////////////////////////////////////
  11 +// Add manually edited resources here...
  12 +
  13 +/////////////////////////////////////////////////////////////////////////////
... ...
  1 +//{{NO_DEPENDENCIES}}
  2 +// Microsoft Developer Studio generated include file.
  3 +// Used by BlueFlashTool.rc
  4 +//
  5 +#define IDD_BLUEFLASHTOOL_DIALOG 102
  6 +#define IDR_MAINFRAME 128
  7 +#define IDD_SYSTEM_CONFIG 131
  8 +#define IDC_STATIC_GROUP01 1000
  9 +#define IDC_CHECK_EAR01 1001
  10 +#define IDC_CHECK_USB01 1002
  11 +#define IDC_PROGRESS_EAR01 1003
  12 +#define IDC_PROGRESS_USB01 1004
  13 +#define IDC_BUTTON_START_EAR01 1005
  14 +#define IDC_BUTTON_START_USB01 1006
  15 +#define IDC_STATIC_GROUP2 1007
  16 +#define IDC_CHECK_EAR2 1008
  17 +#define IDC_CHECK_USB2 1009
  18 +#define IDC_PROGRESS_EAR2 1010
  19 +#define IDC_PROGRESS_USB2 1011
  20 +#define IDC_BUTTON_START_EAR2 1012
  21 +#define IDC_BUTTON_START_USB2 1013
  22 +#define IDC_STATIC_GROUP3 1014
  23 +#define IDC_CHECK_EAR3 1015
  24 +#define IDC_CHECK_USB3 1016
  25 +#define IDC_PROGRESS_EAR3 1017
  26 +#define IDC_PROGRESS_USB3 1018
  27 +#define IDC_BUTTON_START_EAR3 1019
  28 +#define IDC_BUTTON_START_USB3 1020
  29 +#define IDC_STATIC_GROUP4 1021
  30 +#define IDC_CHECK_EAR4 1022
  31 +#define IDC_CHECK_USB4 1023
  32 +#define IDC_PROGRESS_EAR4 1024
  33 +#define IDC_PROGRESS_USB4 1025
  34 +#define IDC_BUTTON_START_EAR4 1026
  35 +#define IDC_BUTTON_START_USB4 1027
  36 +#define IDC_STATIC_GROUP5 1028
  37 +#define IDC_CHECK_EAR5 1029
  38 +#define IDC_CHECK_USB5 1030
  39 +#define IDC_PROGRESS_EAR5 1031
  40 +#define IDC_PROGRESS_USB5 1032
  41 +#define IDC_BUTTON_START_EAR5 1033
  42 +#define IDC_BUTTON_START_USB5 1034
  43 +#define IDC_STATIC_GROUP6 1035
  44 +#define IDC_CHECK_EAR6 1036
  45 +#define IDC_CHECK_USB6 1037
  46 +#define IDC_PROGRESS_EAR6 1038
  47 +#define IDC_PROGRESS_USB6 1039
  48 +#define IDC_BUTTON_START_EAR6 1040
  49 +#define IDC_BUTTON_START_USB6 1041
  50 +#define IDC_STATIC_GROUP7 1042
  51 +#define IDC_CHECK_EAR7 1043
  52 +#define IDC_CHECK_USB7 1044
  53 +#define IDC_PROGRESS_EAR7 1045
  54 +#define IDC_PROGRESS_USB7 1046
  55 +#define IDC_BUTTON_START_EAR7 1047
  56 +#define IDC_BUTTON_START_USB7 1048
  57 +#define IDC_STATIC_GROUP8 1049
  58 +#define IDC_CHECK_EAR8 1050
  59 +#define IDC_CHECK_USB8 1051
  60 +#define IDC_PROGRESS_EAR8 1052
  61 +#define IDC_PROGRESS_USB8 1053
  62 +#define IDC_BUTTON_START_EAR8 1054
  63 +#define IDC_BUTTON_START_USB8 1055
  64 +#define IDC_STATIC_GROUP9 1056
  65 +#define IDC_CHECK_EAR9 1057
  66 +#define IDC_CHECK_USB9 1058
  67 +#define IDC_PROGRESS_EAR9 1059
  68 +#define IDC_PROGRESS_USB9 1060
  69 +#define IDC_BUTTON_START_EAR9 1061
  70 +#define IDC_BUTTON_START_USB9 1062
  71 +#define IDC_STATIC_GROUP10 1063
  72 +#define IDC_CHECK_EAR10 1064
  73 +#define IDC_CHECK_USB10 1065
  74 +#define IDC_PROGRESS_EAR10 1066
  75 +#define IDC_PROGRESS_USB10 1067
  76 +#define IDC_BUTTON_START_EAR10 1068
  77 +#define IDC_BUTTON_START_USB10 1069
  78 +#define IDC_START_ALL 1070
  79 +#define IDC_STOP_ALL 1071
  80 +#define IDC_BUTTON_SETTING 1072
  81 +#define IDC_MSCOMM0 1074
  82 +#define IDC_MSCOMM1 1075
  83 +#define IDC_MSCOMM2 1076
  84 +#define IDC_MSCOMM3 1077
  85 +#define IDC_MSCOMM4 1078
  86 +#define IDC_MSCOMM5 1079
  87 +#define IDC_MSCOMM6 1080
  88 +#define IDC_MSCOMM7 1081
  89 +#define IDC_MSCOMM8 1082
  90 +#define IDC_MSCOMM9 1083
  91 +#define IDC_MSCOMM10 1084
  92 +#define IDC_MSCOMM11 1085
  93 +#define IDC_MSCOMM12 1086
  94 +#define IDC_MSCOMM13 1087
  95 +#define IDC_MSCOMM14 1088
  96 +#define IDC_MSCOMM15 1089
  97 +#define IDC_MSCOMM16 1090
  98 +#define IDC_MSCOMM17 1091
  99 +#define IDC_MSCOMM18 1092
  100 +#define IDC_MSCOMM19 1093
  101 +#define IDC_MSCOMM20 1094
  102 +
  103 +// Next default values for new objects
  104 +//
  105 +#ifdef APSTUDIO_INVOKED
  106 +#ifndef APSTUDIO_READONLY_SYMBOLS
  107 +#define _APS_NEXT_RESOURCE_VALUE 132
  108 +#define _APS_NEXT_COMMAND_VALUE 32771
  109 +#define _APS_NEXT_CONTROL_VALUE 1075
  110 +#define _APS_NEXT_SYMED_VALUE 101
  111 +#endif
  112 +#endif
... ...
Please register or login to post a comment