If all you want to do is open a window on the workbench screen, you can simple
call 'OpenInputOutput' with the appropriate arguments (such as
'CON:0/0/640/200/FooBar' , or something like that). This will cause your
program to open a window, and to send its output, as well as receive input from
that window.
Hope this helped.
– Steve –