Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Multimedia (https://www.delphipraxis.net/16-multimedia/)
-   -   ShapeLib - DLL als 64 Bit mit Unresolved C function (https://www.delphipraxis.net/173109-shapelib-dll-als-64-bit-mit-unresolved-c-function.html)

sonicus83 7. Feb 2013 12:21

ShapeLib - DLL als 64 Bit mit Unresolved C function
 
Hallo,

ich habe vor längerer Zeit einmal eine DLL zum nutzen von ESRI-Shapefiles gefunden (http://shapelib.maptools.org/). Diese DLL liegt mir in einer 32-Bit-Version (shapelib129.dll) vor.

Nun muss ich mein Programm auf 64-Bit konvertieren (nicht genügend Arbeitsspeicher unter 32-Bit), die DLL ist das einzige, das mich daran hindert.

Ich habe schon versucht mit den Sources eine 64-Bit-Variante zu kompilieren, funktioniert aber nicht (DLL wird erstellt, läuft aber nicht, depedency walker sagt "Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module." bzw. es gibt lauter "Unresolved C functions".

Code:
(Unresolved C function (similar images also exist for C++ and ordinal functions). This function is called by the parent module, but it is not exported from the current module. This is often referred to as an "unresolved external function". If this module is an implicit or forwarded dependency, then the parent module will fail to load. If this module is a delay-load dependency, then the parent module will most likely recover from the missing dependency, as that is a feature of using delay-load dependencies.)
Um mein Problem zu lösen gibt es nun mehrere Wege:

1. Hat jemand eine kompilierte 64-Bit ShapeLib?
2. Weiß jemand, wie ich das Problem beim Kompilieren lösen kann?
3. Kennt jemand eine alternative Möglichkeit, ESRI-Shapefiles unter Delphi zu nutzen?

Vielen Dank schonmal für jede Hilfe!

Uli65 25. Nov 2017 16:54

AW: ShapeLib - DLL als 64 Bit mit Unresolved C function
 
Liste der Anhänge anzeigen (Anzahl: 1)
Der Beitrag ist ja schon etwas älter, aber falls aktuell jemand danach sucht: Habe für ein Projekt die aktuelle Version (1.41) von ShapeLib angepasst und sowohl als 32- und 64-Bit compiliert und für Delphi und Lazarus zur Verfügung gestellt. Ich habe die Funktion zur Berechnung des Flächeninhalts (SHPArea_2d aus shpgeo.c) ebenfalls mit in die DLL übernommen.

mbr 25. Dez 2017 19:48

AW: ShapeLib - DLL als 64 Bit mit Unresolved C function
 
Super, Dank dir...

Das DLL kompilieren ist immer ein Akt...

Michael


Alle Zeitangaben in WEZ +1. Es ist jetzt 16:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz