10-11-2010 02:43 AM
When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes because after a certain time of use, no handles are available anymore.
I'm using Windows XP and Labview 8.6.
The VI in the attachment illustrates the problem (reading and writing of values are left out as these have no influence on the problem).
How can I read and write the registry, without leaving open handles?
Ruud
10-12-2010 01:34 AM - edited 10-12-2010 01:41 AM
Dear Ruud,
thank you so much for your post on our webforum. I noticed that this is a known issue for Labview 8.6, a while ago it was reported with a Corrective Action Request (CAR# 132471). The issue should be resolved with Labview 2009. I wasn't able to reproduce the issue wit Labview 2010, the number of handles stayed arround 28000,
best regards,
10-12-2010 01:50 AM
Dear Martijn,
Thanks.
Now I know I'm not hunting gosts.
Ruud