comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to redirect stdout & stderr from a Windows app?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
How to redirect stdout & stderr from a Windows app? [message #23392] Tue, 23 January 2001 14:32 Go to next message
Dave Greenwood is currently offline  Dave Greenwood
Messages: 33
Registered: October 2000
Member
I have a windows app (NT 4, IDL 5.3) that apparently screws up occasionally.
That is, it doesn't respond to certain buttons, sliders, etc. Of course it
hasn't failed any of the times I've tried it in the IDE. Is there any way
to redirect stdout and stderr so I can capture IDL messages, PRINT output,
etc. in a file? I've tried invoking runtime IDL from a DOS window with ">
foo.bar" but I never get any output in foo.bar although my app starts. And,
of course, I can't close or reopen units -1 or -2.

Thanks,
Dave
--------------
Dave Greenwood Email: Greenwoodde@ORNL.GOV
Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself
Re: HOW [message #23468 is a reply to message #23392] Fri, 26 January 2001 07:03 Go to previous message
dsreyn is currently offline  dsreyn
Messages: 10
Registered: December 1999
Junior Member
When a program is compiled and linked, library files (collections of
supporting routines) can be handled in two ways:

1) Static linking - everything required by the program is included in the
executable file.

2) Dynamic linking - supporting routines are compiled and stored in a
separate file. The executable is told where these routines reside, so
that they can be loaded and called when required. Unloaded modules
just sit idly on disk without using memory.

In Unix, dynamic linking is done using "shared objects", which are typically
denoted with the extension ".so". Windows does this with .dll files (dynamic
link libraries).

Doug

In article <94qnrn$rju$1@news3.cadvision.com>,
"Mark Chan" <chanm@cadvision.com> writes:
> Anyone dare to answer my questions? Email me directly if needed. What is the
> function of .so file and what is it's intended use?
>
> MC
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Back to idl after a looong time...
Next Topic: Smoking Man

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:27:50 PDT 2025

Total time taken to generate the page: 0.00548 seconds