473,498 Members | 1,656 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

problem on hiding console window

Dear All,

Would you please give me a hint on how to hide the console window
opened by _popen?

I appreciate your kind help!

Shuisheng

Nov 7 '06 #1
4 3129
shuisheng wrote:
Would you please give me a hint on how to hide the console window
opened by _popen?
You must post to a newsgroup that supports your compiler. This newsgroup is
only qualified to discuss the raw C++ language itself, not its interactions
with all the various windowing systems out there.

Under the wild guess you use Win32, try news:microsoft.public.vc.language .

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Nov 7 '06 #2
shuisheng wrote:
Would you please give me a hint on how to hide the console window
opened by _popen?
What's "the console window"? I can't find any definition of it in
the C++ language standard. What's "_popen"? Not defined either.

Are you sure you're in the right newsgroup?

V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask
Nov 7 '06 #3
shuisheng wrote:
Dear All,

Would you please give me a hint on how to hide the console window
opened by _popen?

http://www.parashift.com/c++-faq-lit...t.html#faq-5.9
Nov 7 '06 #4


On Nov 7, 4:07 pm, "shuisheng" <shuishen...@yahoo.comwrote:
Dear All,

Would you please give me a hint on how to hide the console window
opened by _popen?

I appreciate your kind help!

Shuisheng
This is not a standard language feature. _popen is not standard C++.

On UNIX systems (which includes Linux) you can run a process in the
background by putting a & character after the command name.

I think on Windows there's a "ShellExecute" option which will cause no
console window to appear.

Clearly you'll need to redirect standard output (if any is produced) in
either case.

You should check the newsgroups relating to the appropriate operating
systems.

Nov 7 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
6570
by: Marc | last post by:
Hi all, I know that to hide a console normally you simply change the extension from .py to .pyw. That's simple enough. However I can't seem to accomplish the same thing after freezing the...
5
1645
by: Tim Axtelle | last post by:
I am new to Python and am trying to create a standalone exe from a python script using py2exe 0.5.0 and Python 2.3 without success. I am able to generate the appropriate .exe file but it is not...
6
5474
by: Lucas Raab | last post by:
I'm looking to play a joke on a friend and I'm wondering if there's a way to not show or hide the DOS console. My friend doesn't have python so I have to compile it to an EXE. TIA
7
4772
by: Merlin | last post by:
Hi there, I have a serious problem with opening a new window with the help of JavaScript. The problem only occures with Firefox. Once you click on the item which fires up the open function, the...
11
4832
by: objectref | last post by:
Hi to all, i have a window app and i want to display some info in a console window. I figured out (after a very long search...) how am i supposed to do it and i try using the following code. ...
4
1866
by: nick | last post by:
Hi all: In the winform i want to run commandline with return value(string), then display this string in winform textbox. anyone has idea about that? Thanks Nick
17
2894
by: Bob Weiner | last post by:
What is the purpose of hiding intead of overriding a method? I have googled the question but haven't found anything that makes any sense of it. In the code below, the only difference is that...
0
1165
by: yvz | last post by:
hi !! im a beginner in C# .... here is my problem ... i have 2 classes : 1. start an udpclient listener : "Form1" 2. display a Taskbar Notifier windows : "TaskbarNotifier" i need 2 diaplay...
10
6285
by: Stephany Young | last post by:
When one uses the System.Diagnostics.Process.Start method to launch a common or garden Console application, one can set the WindowStyle property of the StartInfo object to ProcessWindowStyle.Hidden...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6887
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.