LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LocalizePanel() and Dynamic Memory

Hi,

I've been using the new feature "CVI User Interface Localizer" provided with CVI 6.0, and the function "LocalizePanel(...)" seems to be a dynamic memory consumer.

After a "LoadPanel(...)", I call "LocalizePanel(...)" to load the language Resource File. Unfortunatey, "CVIMemoryDynamicInfo" informs that blocks have been allocated and not freed.
It's not due to MY dynamic memory allocations with "malloc()", because there is no problem when I select the default language (not calling the "LocalizePanel(...)" function).

Is there a solution for leading CVI to free memory ?

Thanks a lot for help,
0 Kudos
Message 1 of 2
(2,794 Views)
This memory leak has been reported to us and we are working to get it fixed in a future release. There isn't a workaround or any way to get rid of this memory until the process ends. I don't think the LoadLocalizedPanel function has been reported as having the leak, so you should use it instead of LoadPanel and LocalizePanel.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 2
(2,794 Views)