I have a c# application that is using a custom DLL (written in C, built with CL).
the DLL has many printf’s that I’d like to be able to view while running my c# app. So far I havnt been able to figure out how to view the output from the DLL in visual studio (2010 or 2005).
I have a test app in C that runs the dll from command line and I can see the output fine there.
Is it possible to see that output in Visual Studio? Do I need to build the DLL differently to enable it somehow?
You might consider the free utility from Sysinternals called DebugView:
http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
I’m not sure if this will exactly solve your problem but if the calls are going through the right place you might be able to pick them up. It can’t hurt to try.