LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

No need to free the file list with drag and drop??

Hi all,

When I want to use EnableDragAndDrop() from the toolbox it says in the description that when a filesdropped event occurs, the file list is put in eventData1. However, a file list is char**, and eventData1 is an integer. This is overcome in the CVI example program like this:

case EVENT_FILESDROPPED:
files = (char**)eventData1;
...
break;

So far so good. However, in this example program the file list isn't freed. When using MultiFileSelectPopup the file list has to be freed. Is the file list of the filesdroped event discarded automatically when the callback is finished?

Erwin Timmerman
0 Kudos
Message 1 of 1
(2,714 Views)