Ulf Lamping wrote:
Hi List!
I'm currently thinking about the win32 console opening behaviour.
Ethereal Win32 version will handle console messages (printf)
differently compared to the unix versions, as the unix versions
typically have a console which will print the message requested into.
A win32 program will have no such console by default, thus have to
opening itself one.
Saying this, I would like to add a preference setting, which will have
a dropdown with three options:
Open a console window:
"Never (novice users)": never open a console window
"Automatic (advanced users)": just like today
"Always (debugging)": open the console window already at program start
Default should be the "Never" option.
The novice user (default) will usually not be interested in such
information, and even more important will get annoyed as he has not
enough knowledge how to get rid of this message again (which pops up
everytime he starts Ethereal, like when having "problems" with the
preference settings).
The advanced user will be interested in this info to track down
problems, or might guide a novice user how to do so.
While debugging, you might be interested in any such message.
Any other ideas or comments?
Regards, ULFL
Checked in.
As the default is "Never", the console window will no longer annoy
novice users.
For normal coding and debugging, it's a good idea to choose "Automatic",
to get the same behaviour like before.
Regards, ULFL