title: How to use assert in c dll
body: <p>I am using a legacy C Dll (I have the source code) that has numerous asserts scattered through the program.  The dll is being used by a C# windows app.</p>
  
  <p>The problem is that the "assertion failure" never shows up when there is an error in the DLL.  The Dll is a console app (not sure if that's relevant).   There are dozens of asserts, and AFAIK there is no easy way to get the error mesg (or flag) back to the C# app without adding a lot of extra code.</p>
  
  <p>Is there a way to force the output of the assert to the screen?</p>