unittests and Windows App

evilrat evilrat666 at gmail.com
Thu Dec 19 08:23:23 PST 2013


On Thursday, 19 December 2013 at 13:55:41 UTC, ref2401 wrote:
> I'm using D 2064.2 and VisualD 0.3.37
> VisualD "Redirect stdout to output window" checkbox is checked.
>
> In simple ConsoleApp unittests work properly. I can debug them 
> and assertion fail results are printed to the Output window.
>
> But it seems that unittests don't work at all with any 
> WindowsApp. It's impossible to debug and no assertion fail 
> messages are printed to the Output windows.

OutputDebugStringA/OutputDebugStringW[1] WinAPI function should 
work within visual studio.

[1] http://msdn.microsoft.com/en-us/library/aa363362(VS.85).aspx


More information about the Digitalmars-d-learn mailing list