Hi,
can you post your code here so we can try to reproduce it?
It sounds as if the handles aren't being released in the right order. i.e. LabVIEW will hold onto a DLL until the vi using it goes out of memory.
I think from your description you have a DLL which posts a message, and then you're using the example code which was written for LabVIEW 5.0 to read that windows message?
What message are you sending?
When you say the DLL has detached, is that process detach or thread detach?
What version of LabVIEW are you using?
What operating system?
What version of Visual C++?
Thanks
Sacha Emery
National Instruments (UK)
// it takes almost no time to rate an answer