I was hoping to allocate an array in a dll and pass it back to the calling VB code. From browsing the docs, a locally allocated array is deallocated when the sub/func is exited, either by default or by DEALLOCATE. The SAVE attribute conflicts with the ALLOCATABLE attribute.
It appears that I cannot do what I want. Is this true, or have I missed something?
My work around is to write another function to determine the size, dimension it in VB and pass the first element of the array and its dimension.
Thanks for any remarks.