資源簡(jiǎn)介
《Google API開(kāi)發(fā)詳解》書(shū)中Google Earth部分的地圖定位源程序

代碼片段和文件信息
//?gesample2.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“gesample2.h“
#include?“gesample2Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CGesample2App
BEGIN_MESSAGE_MAP(CGesample2App?CWinApp)
//{{AFX_MSG_MAP(CGesample2App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CGesample2App?construction
CGesample2App::CGesample2App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGesample2App?object
CGesample2App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CGesample2App?initialization
BOOL?CGesample2App::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
CGesample2Dlg?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;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????114786??2012-02-27?16:22??gesample2\Debug\gesample2.exe
?????文件?????219732??2012-02-27?16:22??gesample2\Debug\gesample2.ilk
?????文件??????14677??2012-02-24?11:09??gesample2\Debug\gesample2.obj
?????文件????5501952??2012-02-24?11:00??gesample2\Debug\gesample2.pch
?????文件?????377856??2012-02-24?16:16??gesample2\Debug\gesample2.pdb
?????文件???????3036??2012-02-24?11:09??gesample2\Debug\gesample2.res
?????文件??????31216??2012-02-27?16:22??gesample2\Debug\gesample2Dlg.obj
?????文件??????26610??2012-02-24?11:00??gesample2\Debug\googleearth.obj
?????文件?????105858??2012-02-24?11:00??gesample2\Debug\StdAfx.obj
?????文件?????205824??2012-06-28?10:20??gesample2\Debug\vc60.idb
?????文件?????364544??2012-02-24?16:16??gesample2\Debug\vc60.pdb
?????文件??????36404??2012-02-24?11:09??gesample2\gesample2.aps
?????文件???????1696??2012-06-28?10:21??gesample2\gesample2.clw
?????文件???????2105??2012-02-23?17:07??gesample2\gesample2.cpp
?????文件???????4344??2012-02-24?10:20??gesample2\gesample2.dsp
?????文件????????526??2012-02-23?17:32??gesample2\gesample2.dsw
?????文件???????1357??2012-02-23?17:07??gesample2\gesample2.h
?????文件??????66560??2012-06-28?10:21??gesample2\gesample2.ncb
?????文件??????49664??2012-06-28?10:21??gesample2\gesample2.opt
?????文件????????252??2012-06-28?10:20??gesample2\gesample2.plg
?????文件???????6066??2012-02-24?11:09??gesample2\gesample2.rc
?????文件???????6619??2012-02-24?16:16??gesample2\gesample2Dlg.cpp
?????文件???????1517??2012-02-24?11:09??gesample2\gesample2Dlg.h
?????文件???????6697??2012-02-24?10:06??gesample2\googleearth.cpp
?????文件???????1939??2012-02-24?10:06??gesample2\googleearth.h
?????文件???????3633??2012-02-23?17:07??gesample2\ReadMe.txt
?????文件???????1078??2012-02-23?17:07??gesample2\res\gesample2.ico
?????文件????????401??2012-02-23?17:07??gesample2\res\gesample2.rc2
?????文件???????1052??2012-02-23?17:32??gesample2\resource.h
?????文件????????211??2012-02-23?17:07??gesample2\StdAfx.cpp
............此處省略7個(gè)文件信息
評(píng)論
共有 條評(píng)論