I'm working with SQL Native Client 9 in a C++ application that communicates with SQL Server 2000. I'm working on debugging things right now but something I've noticed that bothers me (mostly because it's creating significant clutter) is that sqlnclir.rll is being loaded and unloaded continuously and the following lines are being spammed to my debug output window.
'my_app.exe': Loaded 'C:\WINDOWS\system32\sqlnclir.rll', Binary was not built with debug information. The thread 'Win32 Thread' (0x9f4) has exited with code 0 (0x0). 'my_app.exe': Unloaded 'C:\WINDOWS\system32\sqlnclir.rll'
The ID after "Win32 Thread" changes but the exit code is always 0.
Why is the .rll is being loaded and unloaded constantly like this and how can I prevent it from happening?
If the above isn't a feasible question to answer, how can I prevent the messages above from being spammed to the Debug Output window in MSVC 2005? Ideally, only for that particular set of messages?