資源簡介
網上下載的資源,供大家分享。若要調試使用,請注意下面事項:
1.如果直接運行exe文件,只須將ago4501.dll和v4501v.dll加入相應的
release目錄即可.
2.如果需要在VC6.0環境下測試,可按如下步驟進行.
1)從workspace中刪除v4501v.lib,通過project->add to project->files
重新加入v4501v.lib.
2)編譯連接后,將ago4501.dll和v4501v.dll加入release目錄.運行程序即可.
注意:
1)v4501v.lib,ago4501.dll和v4501v.dll都放在lib目錄下.
2)jpg目錄下為文檔編輯所需要的圖片,如需重新排版,可參考使用。

代碼片段和文件信息
//?draw.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“draw.h“
#include?“drawDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDrawApp
BEGIN_MESSAGE_MAP(CDrawApp?CWinApp)
//{{AFX_MSG_MAP(CDrawApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDrawApp?construction
CDrawApp::CDrawApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDrawApp?object
CDrawApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDrawApp?initialization
BOOL?CDrawApp::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
CDrawDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????524??1999-10-25?09:04??VC_Matcom_code\debugging?specification.txt
?????文件??????22564??2009-06-20?10:22??VC_Matcom_code\draw\draw.aps
?????文件???????1115??2009-06-20?10:23??VC_Matcom_code\draw\draw.clw
?????文件???????2035??2000-11-07?20:01??VC_Matcom_code\draw\draw.cpp
?????文件???????5224??2000-11-30?15:30??VC_Matcom_code\draw\draw.dsp
?????文件????????575??2000-11-07?20:50??VC_Matcom_code\draw\draw.dsw
?????文件???????1302??2000-11-07?20:01??VC_Matcom_code\draw\draw.h
?????文件??????66560??2009-06-20?10:24??VC_Matcom_code\draw\draw.ncb
?????文件?????308736??2009-06-20?10:24??VC_Matcom_code\draw\draw.opt
?????文件???????1803??2009-06-20?10:22??VC_Matcom_code\draw\draw.plg
?????文件???????5326??2000-11-23?17:26??VC_Matcom_code\draw\draw.rc
?????文件???????4978??2000-11-30?11:01??VC_Matcom_code\draw\drawDlg.cpp
?????文件???????1376??2000-12-16?15:43??VC_Matcom_code\draw\drawDlg.h
?????文件?????106477??1999-10-30?12:52??VC_Matcom_code\draw\matlib.h
?????文件????????248??2000-11-08?15:41??VC_Matcom_code\draw\ReadMe.txt
?????文件????2825728??1999-12-12?00:08??VC_Matcom_code\draw\Release\ago4501.dll
?????文件??????24576??2009-06-20?10:22??VC_Matcom_code\draw\Release\draw.exe
?????文件???????8833??2009-06-20?10:22??VC_Matcom_code\draw\Release\draw.obj
?????文件????5678688??2009-06-20?10:22??VC_Matcom_code\draw\Release\draw.pch
?????文件???????3704??2009-06-20?10:22??VC_Matcom_code\draw\Release\draw.res
?????文件??????22169??2009-06-20?10:22??VC_Matcom_code\draw\Release\drawDlg.obj
?????文件????????822??2009-06-20?10:22??VC_Matcom_code\draw\Release\StdAfx.obj
?????文件????2249216??2000-06-23?16:19??VC_Matcom_code\draw\Release\v4501v.dll
?????文件??????50176??2009-06-20?10:23??VC_Matcom_code\draw\Release\vc60.idb
?????文件???????1078??2000-11-07?20:00??VC_Matcom_code\draw\res\draw.ico
?????文件????????396??2000-11-07?20:01??VC_Matcom_code\draw\res\draw.rc2
?????文件???????1078??2000-11-07?20:02??VC_Matcom_code\draw\res\icon1.ico
?????文件????????819??2000-12-20?15:25??VC_Matcom_code\draw\resource.h
?????文件????????206??2000-11-07?20:01??VC_Matcom_code\draw\StdAfx.cpp
?????文件???????1054??2000-11-07?20:01??VC_Matcom_code\draw\StdAfx.h
............此處省略105個文件信息
評論
共有 條評論