Hi Nick,
I'm not sure that I understand your question, so please describe further what you mean with "detach and attach" the database. Are you referring to the "DLL_PROCESS_ATTACH", "DLL_THREAD_DETACH" etc. cases that are part of the DLL? What VIs are you referring to?
Can you call the DLL including the Citadel calls from a LabVIEW VI using the Call Library Function Node?
Can you call the DLL including the Citadel calls from another programming language (C++, VB etc.)?
Please submit the VI that you build into a DLL, and give me further information about what you are trying to accomplish, thanks.
- Philip Courtois, Thinkbot Solutions