Allocating memory for CreateCustomElevGridLayer

dcoggindcoggin Global Mapper UserPosts: 259Trusted User
edited January 2012 in SDK

I realized today that when creating a custom elev grid layer, I can't delete the pointer to the elevation array I pass to the SDK. I assume the SDK deletes the memory when the layer is closed. Is it important whether I malloc or new the initial memory?

Thanks for your help.



Sign In or Register to comment.