mapx5.02_win7_64_32位不可二次开发


mapx5.02在win7(win8)的64位32位的系统上安装。里面包括安装包及安装步骤,文件已经破解,按文档提示安装完之后可以直接使用
资源截图
代码片段和文件信息
// BufferDlg.cpp : implementation file
//
/*
 * This sample application and corresponding sample code is provided for 
 * example purposes only.  It has not undergone rigorous testing and as 
 * such should not be shipped as part of a final application without 
 * extensive testing on the part of the organization releasing the 
 * end-user product. 
 */

#include “stdafx.h“
#include “MapTest.h“
#include “BufferDlg.h“
#include “Mapx.h“


#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CBufferDlg dialog


CBufferDlg::CBufferDlg(CWnd* pParent /*=NULL*/)
: CDialog(CBufferDlg::IDD pParent)
{
//{{AFX_DATA_INIT(CBufferDlg)
m_Distance = 0;
//}}AFX_DATA_INIT
}


void CBufferDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBufferDlg)
DDX_Text(pDX IDC_EDITDISTANCE m_Distance);
DDV_MinMaxInt(pDX m_Distance 1 1000);
//}}AFX_DATA_MAP
DDX_Control(pDX IDC_LISTOUTLETS m_chkListBox);



BEGIN_MESSAGE_MAP(CBufferDlg CDialog)
//{{AFX_MSG_MAP(CBufferDlg)
ON_BN_CLICKED(IDC_MILES OnMiles)
ON_BN_CLICKED(IDC_KILOMETERS OnKilometers)
ON_NOTIFY(UDN_DELTAPOS IDC_SPINDISTANCE OnDeltaposSpindistance)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CBufferDlg message handlers

void CBufferDlg::InitListBox()
{
CMapXlayer outletLyr;

m_chkListBox.ResetContent();   //Empty the contents of the list box.

if (!m_pMap->Getlayers().Item(“Outlets“)){//If the “Outlets“ layer isn‘t there do not 
return; //go any further.
}

try {
m_outletFtrs = m_pMap->Getlayers().Item(“Outlets“).AllFeatures();
//m_outletFtrs is set equal to the features of the “Outlets“ layer
outletLyr = m_pMap->Getlayers().Item(“Outlets“);
//outletLyr is set equal to the “Outlets“ layer
outletLyr.SetKeyField(“Store_Name“);
//Change the keyfield of outletLyr equal to “Store_Name“ the second column
// in the Outlets.tab file

for (int i = 1; i <= m_outletFtrs.GetCount(); i++){
CString ftrName = m_outletFtrs.Item(i).GetKeyValue(); //Get the keyvalue
int n = m_chkListBox.AddString(ftrName); //Add it to the listbox
m_chkListBox.SetItemData(n (DWORD)i);
}
} catch (COleDispatchException *e) {
e->ReportError();
e->Delete();
} catch (COleException *e) {
e->ReportError();
e->Delete();
}
}

BOOL CBufferDlg::OnInitDialog() 
{
CSpinButtonCtrl* pSpin;

CDialog::OnInitDialog();
ASSERT(m_pMap);


InitListBox();
CheckDlgButton(IDC_MILES 1);
m_Units = miUnitMile;

pSpin = (CSpinButtonCtrl*)GetDlgItem(IDC_SPINDISTANCE);
pSpin->SetRange(1 1000);
pSpin->SetPos(140);

m_Distance = 140;
UpdateData(true);

return TRUE;  // return TRUE unless you set the focus to a control
              // EXCEPTION

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-03-19 12:54  mapx_win7_64_32位
     文件         967  2017-03-14 22:31  mapx_win7_64_32位GeosetManager50.exe - 快捷方式.lnk
     目录           0  2017-03-19 12:54  mapx_win7_64_32位MapX
     文件       40960  2002-05-17 17:19  mapx_win7_64_32位MapXADRGASRP.RHL
     文件      530000  1997-09-11 11:53  mapx_win7_64_32位MapXALASKA.LAS
     文件      530000  1997-09-11 11:53  mapx_win7_64_32位MapXALASKA.LOS
     文件       45056  2002-06-12 21:45  mapx_win7_64_32位MapXALLTYPE.DLL
     文件       12288  2002-06-12 21:45  mapx_win7_64_32位MapXAllTypeRes.dll
     文件       24576  2002-06-12 22:11  mapx_win7_64_32位MapXAppSelection.dll
     文件       69632  2002-05-17 17:22  mapx_win7_64_32位MapXCADRGCIB.RHL
     文件       40960  2002-06-12 22:11  mapx_win7_64_32位MapXChangeManager.dll
     文件       45056  2002-06-12 22:27  mapx_win7_64_32位MapXColLookupSystem.dll
     文件       24576  2002-06-12 22:06  mapx_win7_64_32位MapXCommandProcessor.dll
     文件       12288  2002-06-12 22:06  mapx_win7_64_32位MapXCommandProcessorRes.dll
     文件      133712  1997-09-11 11:53  mapx_win7_64_32位MapXCONUS.LAS
     文件      133712  1997-09-11 11:53  mapx_win7_64_32位MapXCONUS.LOS
     文件      585728  2002-06-12 21:43  mapx_win7_64_32位MapXCOORDSYS.DLL
     文件       12288  2002-06-12 21:43  mapx_win7_64_32位MapXCoordSysRes.dll
     文件       45056  2002-06-12 21:45  mapx_win7_64_32位MapXCustomProperties.dll
     目录           0  2017-03-19 12:54  mapx_win7_64_32位MapXCUSTSYMB
     文件         630  1996-09-19 22:02  mapx_win7_64_32位MapXCUSTSYMBAMBU1-32.BMP
     文件         630  1996-09-19 14:26  mapx_win7_64_32位MapXCUSTSYMBBADG1-32.BMP
     文件         630  1996-09-19 21:23  mapx_win7_64_32位MapXCUSTSYMBBADG2-32.BMP
     文件         630  1996-09-19 19:56  mapx_win7_64_32位MapXCUSTSYMBBANK1-32.BMP
     文件         630  1996-09-19 14:54  mapx_win7_64_32位MapXCUSTSYMBBANK2-32.BMP
     文件         630  1996-09-19 19:58  mapx_win7_64_32位MapXCUSTSYMBBOOK1-32.BMP
     文件         630  1996-09-19 15:10  mapx_win7_64_32位MapXCUSTSYMBCAMP1-32.BMP
     文件         630  1996-09-19 15:32  mapx_win7_64_32位MapXCUSTSYMBCAR1-32.BMP
     文件         630  1996-09-19 15:26  mapx_win7_64_32位MapXCUSTSYMBCAUT1-32.BMP
     文件         630  1996-09-19 14:48  mapx_win7_64_32位MapXCUSTSYMBCHUR1-32.BMP
     文件         630  1996-09-19 14:59  mapx_win7_64_32位MapXCUSTSYMBCOMP1-32.BMP
............此处省略1223个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)