Global Mapper v25.0

Allocating memory for CreateCustomElevGridLayer

dcoggin
dcoggin Global Mapper UserTrusted User
edited January 2012 in SDK
Mike,

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.

David

Comments