资源简介
mfc实现获取系统的版本号和OFFICE版本号

代码片段和文件信息
// os.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “os.h“
#include “osDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COsApp
BEGIN_MESSAGE_MAP(COsApp CWinApp)
//{{AFX_MSG_MAP(COsApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// COsApp construction
COsApp::COsApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only COsApp object
COsApp theApp;
/////////////////////////////////////////////////////////////////////////////
// COsApp initialization
BOOL COsApp::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
COsDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1184 2008-09-04 16:37 os\os.clw
文件 3507 2008-08-12 16:34 os\ReadMe.txt
文件 1280 2008-08-12 16:34 os\os.h
文件 2007 2008-08-12 16:34 os\os.cpp
文件 1054 2008-08-12 16:34 os\StdAfx.h
文件 204 2008-08-12 16:34 os\StdAfx.cpp
文件 394 2008-08-12 16:34 os\res\os.rc2
文件 1078 2008-08-12 16:34 os\res\os.ico
文件 4087 2008-08-12 16:34 os\os.dsp
文件 512 2008-08-12 16:34 os\os.dsw
文件 50176 2008-09-04 16:38 os\os.ncb
文件 2580 2008-08-12 16:43 os\Debug\os.res
文件 214016 2008-09-04 16:37 os\Debug\vc60.idb
文件 5494560 2008-08-12 16:38 os\Debug\os.pch
文件 364544 2008-08-12 16:43 os\Debug\vc60.pdb
文件 105921 2008-08-12 16:38 os\Debug\StdAfx.obj
文件 106597 2008-08-12 16:43 os\Debug\os.exe
文件 353280 2008-08-12 16:43 os\Debug\os.pdb
文件 14172 2008-08-12 16:43 os\Debug\os.obj
文件 33665 2008-08-12 16:43 os\Debug\osDlg.obj
文件 197804 2008-08-12 16:43 os\Debug\os.ilk
文件 238 2008-09-04 16:37 os\os.plg
文件 1373 2008-08-12 16:41 os\osDlg.h
文件 5397 2008-08-12 16:43 os\os.rc
文件 818 2008-08-12 16:43 os\Resource.h
文件 35832 2008-08-12 16:43 os\os.aps
文件 6953 2008-08-12 16:43 os\osDlg.cpp
文件 48640 2008-09-04 16:38 os\os.opt
目录 0 2008-08-12 16:34 os\res
目录 0 2008-08-12 16:34 os\Debug
............此处省略4个文件信息
- 上一篇:C++语言释难解惑
- 下一篇:VC++ 对话框 滚轮 计算器
相关资源
- Qt的纽带风格界面实现(Office Ribbon风
- Qt5串口通信-windows
- 新编Windows API参考大全.doc
- windows hook 框架(detours )
- windows网络编程_文件传输
- Windows扩展命令程序(源码)
- LabwindowsCVI 串口编程及事例.docx
- Windows_API_函数大全 C/C++
- 走迷宫(自动生成迷宫版本!)
- 高版本Xcode 中 创建 C++ Class
- 23种设计模式(C++实现版本
- 水晶报表Crystal Reports运行环境CRRunti
- CTP上期技术平台API及C#封装更新到CT
- VC源码获取WINDOWS系统所有的用户密码
- c语言 Windows_程序设计_第五版
- windows下的ffmpeg、MFC制作的播放器
- 逐梦旅程 Windows游戏编程之从零开始
- 火烧连营C++版本
- C++版计算器带括号dos版本
- 饭客论坛Gh0st3.6金牌版本
- 使用socket套接字发送udp数据包
- plist 文件文本二进制互转
- Windows游戏编程大师技巧(CHM)
- Windows+C语言构建网络聊天室内含源程
- VC++各版本合集2005-2017
- MFC画圆自定义|位置|半径|边界和内部
- c++ 帮助手册 chm
- Hoo WinTail 最新版本(v4.2.982)破解补丁
-
C++调用Windows MediaPla
yer实现的多媒体 - Spline曲线(穿过控制点CC++版本)
评论
共有 条评论