最近项目用到了MapXtreme,做了一些gis应用。由于使用的是破解版,项目打包部署(部署机子没安装MapInfo)的时候没有找到MEM,不能按照正常的方式打包。网上的相关资料是相当的少,最全的是於莹莹的《C# Mapxtream2008 学习日记---打包》。mapxtreme
[CommonFilesFolder]\MapInfo\MapXtreme\6.8.0 把C:\Program Files\Common Files\MapInfo\MapXtreme\6.8.0
文件的所有dll文件和RasterGridHandlers文件夹及以下文件拷贝(看个人需要,不拷贝web相关dll)
MapXtremeTrial.lic
MapxtremeSDK.lic
mapxtreme680.lic
MAPINFOW.PEN
MapInfow.fnt
MAPINFOW.ABB
MapinfocoorinateSystemSet.zh-CN.xml
MapinfocoorinateSystemSet.xml
MapinfocoorinateSystemSet.ja-JP.xml
[FontsFolder] 把 C:\WINDOWS\Fonts所有Mapinfo打头的字体都拷贝
[WindowsFolder]\Assembly\GAC_32在开始->运行中输入“C:\WINDOWS\Assembly\GAC_32”打开文件夹,把“Leadtools”和“MapInfo.”开头的文件夹全都加在下面(看个人需要拷贝),本人只拷贝了如下文件夹:
Leadtools
Leadtools.Codecs
MapInfo.CommonDialogExt
MapInfo.CoreEngine
MapInfo.CoreEngine.Wrapper
MapInfo.CoreTypes
MapInfo.Design
MapInfo.Services
MapInfo.Wfs.Server
MapInfo.Windows
MapInfo.Windows.Dialogs
MapInfo.Windows.Framework
MapInfo.Windows.Printing
MapInfo.Windows.resources
MapInfo.Wms.Client
MapInfo.Wms.Server
注册表项:Registry
1. HKEY_LOCAL_MACHINE ->SOFTWARE->MapInfo->MapXtreme->6.8.0 添加字符串项 "ApplicationDir" ValueData为“[CommonFilesFolder]MapInfo\MapXtreme\6.8.0\”
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/tongxinshuyu/article-33544-1.html
没人希望战争