I try to understand
Example 10-1 Page 10-6 in the NI-VISA User Manual
All what I do I
status = viOpenDefaultRM(&defaultRM);
status = viClose (defaultRM);
I got, when I Close the Handle 'VI_ERROR_INV_OBJECT'
If I do the whole Example I got a access violation
when I close it with
If I don't close the handles the Application is running Properly,
but I don't thing that this is OK
my example is working well. What devices do you want to detect? And which NI-VISA do you have??