If you think that you might be dealing with a threading issue, you can try forcing the VI which calls the DLL to run in single thread mode by setting it to run in the user interface thread. Make sure your DLL is set to run in the UI thread as well. Look in the Using External Code with LabVIEW manual for more info about threading issues. Also, if you have the ability to create debuggable executables you might try using it to see what is happening. Specifically, you need to make sure nothing odd is happening at your Process Detach.