I\'ve tried OutputDebugString function and most of the time I get error like :
OutputDebugString
error C2664: \'OutputDebugStringA\' : cannot convert parameter 1
For debugging purposes you could use _RPT macros.
For instance,
_RPT1( 0, "%d\n", my_int_value );