資源簡介
這是一個絕對可以運行的源程序。。在vc 6.0的環境下本人已經測試過了哈哈

代碼片段和文件信息
//?BmpToJpg.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“BmpToJpg.h“
#include?“BmpToJpgDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBmpToJpgApp
BEGIN_MESSAGE_MAP(CBmpToJpgApp?CWinApp)
//{{AFX_MSG_MAP(CBmpToJpgApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CBmpToJpgApp?construction
CBmpToJpgApp::CBmpToJpgApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBmpToJpgApp?object
CBmpToJpgApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBmpToJpgApp?initialization
BOOL?CBmpToJpgApp::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
CBmpToJpgDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????1335??2002-09-13?22:03??BmpToJpg\BmpToJpg.clw
?????文件????????2091??2002-09-13?21:27??BmpToJpg\BmpToJpg.cpp
?????文件????????4288??2002-09-17?13:58??BmpToJpg\BmpToJpg.dsp
?????文件?????????541??2002-09-13?21:27??BmpToJpg\BmpToJpg.dsw
?????文件????????1346??2002-09-13?21:27??BmpToJpg\BmpToJpg.h
?????文件????????5550??2002-09-13?21:35??BmpToJpg\BmpToJpg.rc
?????文件????????5145??2002-09-13?22:00??BmpToJpg\BmpToJpgDlg.cpp
?????文件????????1433??2002-09-13?21:34??BmpToJpg\BmpToJpgDlg.h
?????文件??????686592??2002-09-13?21:11??BmpToJpg\JpgDll.dll
?????目錄???????????0??2002-09-17?13:54??BmpToJpg\res\
?????文件????????1078??2002-09-13?21:27??BmpToJpg\res\BmpToJpg.ico
?????文件?????????400??2002-09-13?21:27??BmpToJpg\res\BmpToJpg.rc2
?????文件?????????870??2002-09-13?21:35??BmpToJpg\Resource.h
?????文件?????????210??2002-09-13?21:27??BmpToJpg\StdAfx.cpp
?????文件????????1054??2002-09-13?21:27??BmpToJpg\StdAfx.h
?????目錄???????????0??2002-09-17?13:58??BmpToJpg\
- 上一篇:F28335浮點庫問題
- 下一篇:ADS2009license.lic
評論
共有 條評論