Thanks for the reply. I used spy++ to find out what thread is actually
generating the dialog box with the error. I turns out is a thread named
"free" with a location of "free". It is apparently a thread created
while my application is running but I don't create it explicitly. How
would I proceed from here?
Enable symbol server support in VS.NET debugger:
1. Consider updating symsrv.dll with the latest version,
as explained by the link below.
http://www.debuginfo.com/tips/symsrvexlist.html
2. Set _NT_SYMBOL_PATH environment variable to the following value:
srv*c:\symbols*
http://msdl.microsoft.com/download/symbols
(c:\symbols can be any directory on your machine, it will be used as a cache
for symbols downloaded from Microsoft)
With symbol server configured, the next time you start debugging,
it will download symbols for system dlls, and you will be able to see
better callstack. You can post it here if necessary.
Oleg