If a window handle becomes inactive or 'bad' (by closing the front panel for example) and I make a call to get a new handle will I be leaving holes in memory? Do I need to somehow close the open window handle before I close/hide the front panel?
If the window is a LabVIEW front panel, you don't have to worry about it. To find the handle of a closed window, you'll get 0. OS will take care of close handle for you.
In LV versions < 6.1 you do need to worry about opening window refs if you dynamiclly change the title of the window...
Anyway, it is good practice to close references you open.
Regards,
Wiebe. "georgezou" wrote in message news:506500000005000000557F0000-1023576873000@exchange.ni.com... > If the window is a LabVIEW front panel, you don't have > to worry about it. To find the handle of a closed > window, you'll get 0. OS will take care of close > handle for you. > > George Zou > http://gtoolbox.yeah.net