Jump to Real's How-to Main page

Use Windows Debugging API

Windows provides API to debug applications and PB can easily send messages to the debugging console
[local external routine declaration]
SUBROUTINE OutputDebugStringA (String lpszOutputString) &
   LIBRARY "kernel32.dll"

[powerscript]
// if there is a Windows debugging console opened
// then the time will be displayed
OutputDebugStringA( String(Now(), "hh:mm") ) 
A (free) Windows debugging console can be downloaded from SysInternals Web site.

See this related HowTo.


If you find this article useful, consider making a small donation
to show your supportfor this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]