Click here to Skip to main content
15,887,428 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Posted
Comments
BillWoodruff 23-Nov-13 21:22pm    
The author of the library provides a contact address on the web-site; why not ask him ?

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.
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900