Sample Data for Delphi Not complete
Hi All
All other sample projects can run well but the Delphi folder only has a formless unit file. Is this correct or something is wrong on my end.
Also, when I run with the forms that I've added, an error that the GlobalMapperInterface.dll cannot be found, I built and compiled, and even manually copying thr dll to the project file, but the error persists. Please help.
Thank you
Comments
-
I saw the mistake, the sdk are 64 bit only and the GlobalMapperInterface.dll is actually GlobalMapperInterface64.dll rather than the one on the delphi code. I also had to copy all files in the bin64 folder to my debug win 64 folder for it to find the files, even after including the system path. Now its time is tudy the code thouroughly.
I still question the missing project sampel for delphi though, that would help me out a lot.
-
Hi Joseph,
Our Delphi SDK 'sample' was something provided by an end user something like 15 years ago, so it is woefully out of date and incomplete. It's more of a just a quick reference to show you how to hook up the SDK to Delphi.
The C++ and C# sample applications have a lot more usage examples that could likely be converted to Delphi without too much effort.
Thanks,
Mike
Global Mapper Guru
-
Hi Mike
Thank you clarifying that. Delphi really does not have much support in the software development industry. I'll try to see if i can convert the C# to Delphi.
Also please help with GM_LoadLayer function. It always gives out 3x " unable to load file" messages before displaying the message to choose if the dala is elevation or not, then proceeds to load the data raster. I don't know why it loops between these messages before it load the data.
-
Hi Joseph,
Can you provide a sample data file that results in the 'unable to load file' message? That is certainly unexpected, especially with no information about what file it is trying to load.
Do you have the Global Mapper desktop application installed on the machine as well? If so, do you see those same errors when trying to load in the desktop app?
You can catch error messages and handle them however you want rather than displaying a dialog message by using the GM_SetMessageCallback function to provide your own function to send errors to.
Thanks,
Mike
Global Mapper Guru
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 346 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 639 GM Script Language
- 54 User Scripts
- 115 GPS Features
- 417 Projection Questions
- 829 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 920 Bug Report
- 559 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 573 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 241 How I use Global Mapper
- 108 Global Mapper Forum Website