Shapelib - Maptools'无法加载DLL' - 不一致 [英] Shapelib - Maptools 'Unable to Load DLL' - Inconsistency

查看:155
本文介绍了Shapelib - Maptools'无法加载DLL' - 不一致的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿所有人,





我目前正在使用Maptools库 http://shapelib.maptools.org/ [ ^ ]用它来创建形状文件的c#.net包装器。



我已经将Maptools dll添加到我的引用中,并包含了shapelib。 dll到项目。





在Windows 7 x64下,Windows 8 x64一切正常。当我在Windows 8 x32上尝试它时,我得到一个'无法加载shapelib.dll HRESULT 8007007e'错误。



我的项目目前是针对'任何cpu'而我'尝试'x86',但每当我尝试创建形状文件时,我都会收到此错误。



任何有用的提示或建议都将不胜感激。



干杯,

Ethan

Hey Everyone,


I'm currently using the Maptools library http://shapelib.maptools.org/[^] with it's c# .net wrapper in a project to create shape files.

I've added the Maptools dll to my references, and included the shapelib.dll to the project.


Under Windows 7 x64, Windows 8 x64 everything works fine. When i try it on windows 8 x32 i get an 'Unable to load shapelib.dll HRESULT 8007007e" error.

My project currently is targeting 'any cpu' and I've tried 'x86' but whenever i try to create the shape file I get this error.

Any helpful hints or advice would be appreciated.

Cheers,
Ethan

推荐答案

从你描述的行为看起来像shapelib.dll是编译为x64。如果是这种情况,你将无法在32位机器上运行它。
From behavior you described it looks like shapelib.dll is compiled for x64. If that's the case you will not be able to run it on 32 bit machine.


在各种机器上测试表明它与x64和x32兼容。我不是能够进一步解决这个问题。我最终迁移到了解决我所有问题的DotSpatial库。



感谢那些贡献的人。
Testing on various machines indicated that it was compatible with both x64 and x32. I was not able to trouble shoot this problem further. I ended up migrating to the DotSpatial libraries which solved all my issues.

Thanks to those that contributed.


这篇关于Shapelib - Maptools'无法加载DLL' - 不一致的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆