Misha,
I was able to reproduce the behavior stated in your post. Apparently, the function call:
TS_PropertySetValBoolean(hDir, 0, "Disabled", 0, VFALSE);
is not only changing the "Disabled" parameter on the search directory specified, but also the option "Use Default" under Station Options -> User Manager.
In version 3.0 you can use the SearchDirectories and SearchDirectory classes to directly modify the default search directories. For version prior to 3.0, you can use the ini CVI instrument driver to directly manipulate the file (check post
"Accessing advanced engine properties in TestSt
and")
Regards,
Alejandro del Castillo
Application Engineer