G
Guest
Hi,
While debugging my application I have noticed that occasionally a message
saying "Win32 Thread xxxx exited with code 0 (0x0)" appearing in the debug
window. I investigated this some more and found that, according to the
threads window, there were four Win32 threads in my program! I had no idea
where these had come from, and was rather worried about what they were doing.
I found that the threads were only there in programs that used a certain
unmanaged DLL that we use for communications. To get the unmanaged DLL to be
linked correctly into our project we have to use the /clr compiler option, as
opposed to the /clrure option. After a bit more investigation I have found
that it was setting this option to /clr which seemed to create these extra
Win32 threads.
I've googled a lot about this, as well as searching these newsgroups, and
haven't found anything about this at all. Does anyone know why these threads
are created, what they do, and whether I can have (or need to have) any
control over them?
Cheers,
Robin
While debugging my application I have noticed that occasionally a message
saying "Win32 Thread xxxx exited with code 0 (0x0)" appearing in the debug
window. I investigated this some more and found that, according to the
threads window, there were four Win32 threads in my program! I had no idea
where these had come from, and was rather worried about what they were doing.
I found that the threads were only there in programs that used a certain
unmanaged DLL that we use for communications. To get the unmanaged DLL to be
linked correctly into our project we have to use the /clr compiler option, as
opposed to the /clrure option. After a bit more investigation I have found
that it was setting this option to /clr which seemed to create these extra
Win32 threads.
I've googled a lot about this, as well as searching these newsgroups, and
haven't found anything about this at all. Does anyone know why these threads
are created, what they do, and whether I can have (or need to have) any
control over them?
Cheers,
Robin