Gilles:
Are you saying that you have a multithreaded DLL that loads the CVIRTE in each thread? When you close a UI in one thread, the others are effected, and closing your DLL does not successfully unload the CVIRTE DLLs? Is that a correct summary of you situation?
Gilles, it may be best to continue this discussion with National Instruments' Technical Support. You can contact our technical support via email at http://www.ni.com/ask or by calling the technical support number for your area listed on the page at http://www.ni.com/support/wrldwide.htm. Please include as many details as you can about your problem.
Thanks,
Chris Wood
Applications Engineer
National Instruments