Try using the following function instead of NumericArrayResize to expand the array:
MgErr DSSetHandleSize(h, size)
Where "h" (UHandle) is the handle you want to resize and "size" (int32) is the new size of the handle (in bytes).
Also, check the following article at ni.com:
Passing a Variety of Data Types from DLL to LabVIEW
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&443CB374ADF0B1D1862569880064C658&cat=D0A775F79852010F862567AC00583FA7
Regards;
Enrique
www.vartortech.com