资源简介
利用微软的SAPI编写简单的文本阅读程序(29kb)

代码片段和文件信息
// sapitest.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “sapitest.h“
#include “sapitestDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSapitestApp
BEGIN_MESSAGE_MAP(CSapitestApp CWinApp)
//{{AFX_MSG_MAP(CSapitestApp)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSapitestApp construction
CSapitestApp::CSapitestApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CSapitestApp object
CSapitestApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CSapitestApp initialization
BOOL CSapitestApp::InitInstance()
{
AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
// of your final executable you should remove from the following
// the specific initialization routines you do not need.
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
CSapitestDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2002-04-18 10:08 sapitest\
文件 3615 2002-04-18 10:08 sapitest\ReadMe.txt
目录 0 2002-04-18 10:08 sapitest\res\
文件 1078 2002-04-18 10:08 sapitest\res\sapitest.ico
文件 400 2002-04-18 10:08 sapitest\res\sapitest.rc2
文件 775 2002-04-18 15:29 sapitest\resource.h
文件 35032 2002-04-18 15:30 sapitest\sapitest.aps
文件 867 2002-04-18 15:31 sapitest\sapitest.clw
文件 2091 2002-04-18 10:08 sapitest\sapitest.cpp
文件 4349 2002-04-18 10:50 sapitest\sapitest.dsp
文件 541 2002-04-18 10:08 sapitest\sapitest.dsw
文件 1346 2002-04-18 10:08 sapitest\sapitest.h
文件 66560 2002-04-18 15:31 sapitest\sapitest.ncb
文件 49664 2002-04-18 15:31 sapitest\sapitest.opt
文件 1327 2002-04-18 15:31 sapitest\sapitest.plg
文件 4609 2002-04-18 15:30 sapitest\sapitest.rc
文件 4366 2002-04-18 15:31 sapitest\sapitestDlg.cpp
文件 1351 2002-04-18 15:30 sapitest\sapitestDlg.h
文件 210 2002-04-18 10:08 sapitest\StdAfx.cpp
文件 1134 2002-04-18 10:32 sapitest\StdAfx.h
- 上一篇:OpenGL 作图 - 圆环
- 下一篇:直接通过ODBC读、写Excel表格文件
相关资源
- E4A无障碍跨程序操作类库(带源码、
- 设备管理系统源码
- 安卓wifi直连app源码
- 我的世界源码(易语言版)
- labview编程软件滤波器以及编写程序设
- 我的界面(visual foxpro)源码
- 易语言:一键cf基址源码
- The Secret Path 3D 3D魔方迷宫[源码][scra
- scratch垃圾分类源码(最终版本).sb
- 最新版TTF16.OCX Formula One v. 6.1.6.2 控件
- 安卓QQ6.71协议源码易语言,qq协议源码
- 编译原理实验工具及参考源码(lex&
- E盾偷后台工具源码
- UNIX/LINUX编程实践教程的源码
- 十以内加减法练习 powerbuilder源码
- 农场开发项目
- OCR源码
- PLC上位机编程软件
- 用foobar2000听google音乐[更新一下]
- 学生信息管理系统源码
- 用VC 编写的仿QQ聊天室程序源代码
- 毕业论文之温度传感器DS18B20(源码
- 可自定义导航网站源码
- 栅栏填充算法源码(VC)
- msp430F149操作红外接收模块源码
- [免费]图像识别c 源码
- 周易排盘源码
- 可拖拽的甘特图控件(完整)
- RSA算法源码
- 一个人脸识别程序源码
评论
共有 条评论