06-09-2010 01:01 PM
Colleagues, I need your help...
I would like to resize array of cluster in external DLL. My array looks like that:
Now I would like to resize it to 10 elements, and then resize arrays. In LabVIEW terms I would like to do something like that:
So, now my attempt to do the same but inside of DLL:
It works so far, but when the code shown above called cyclically many times, then LabVIEW crashed.
I guess, the problem in DSNewHandle which called for creating new array handle_ or may be with incorrect usage DSSetHandleSize. Somewhere memory leak exists, and I unable to found it.
How to do it properly? Any idea?
Thank you in advance,
Andrey.
06-09-2010 02:57 PM
Just checked this at home and it seems to be the code above is correct and working properly. The problem is somewhere else (on my work PC).
Please ignore this topic.
Andrey.