473,480 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Command Prompt Window(managed C++ App)

Hello All
I wonder why the Dos Window appears in back ground if we make a managed c++
application how can I stop it
in MSDN samples there is a sample caculator which is made in managed cpp but
it doesnt show dos window when we run the applicaiton but I could not find
in difference in it and my application.
Regards
Muhammad Aftab Alam
Nov 16 '05 #1
1 1891
I think you have the /SUBSYSTEM switch on the linker
command line the wrong way round. The operating system
loader looks at the flag that's set in the executable
image header to determine which subsystem (Windows GUI,
console, driver, native, POSIX) the image is for, and
from that, how it should start the image. The image is
likely set for CONSOLE when it should be set for WINDOWS
System. Change SubSystem to Windows.

-----Original Message-----
Hello All
I wonder why the Dos Window appears in back ground if we make a managed c++application how can I stop it
in MSDN samples there is a sample caculator which is made in managed cpp butit doesnt show dos window when we run the applicaiton but I could not findin difference in it and my application.
Regards
Muhammad Aftab Alam
.

Nov 16 '05 #2

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

Similar topics

1
2311
by: John | last post by:
How to draw anmation in window app? I mean... like how can I draw a dot in window at a point then moves to another point and we can see it moves. Please explain in detail.
2
3539
by: Jess | last post by:
Hi all, I am doing a window application. Now i need to use Matlab to draw a chart and display that chart in my dialog written in C#. How do i do this? I know there is a C# wrapper but it is...
2
2204
by: Robocox | last post by:
I am fairly new to .NET, and I have an app that runs fom the command prompt to perform some AD user utilities. I want to convert it to a Windows app to make it easier for others in my department...
1
938
by: martin1 | last post by:
Hi, All, is anybody know how to run window app per minute? how to set up that procedure? Thanks,
3
1450
by: jpmcoh | last post by:
I have a need to write VB6 codes to upload file to a Unix server. The existing project is a window application written in VB6 using Studio .Net 2003. I searched the Net to find some answer but got...
4
967
by: =?Utf-8?B?bWFydGluMQ==?= | last post by:
Hi, All, vb.2005 window app runs on window HP, but doesn't run on the window 2003, does anyone know any clue? Thanks, Martin
3
1243
seshu
by: seshu | last post by:
Hi Everybody it has been a long time me coming into this site well today i am back with a small doubt in asp.net for designing a web page we take required field validators to check...
3
910
by: KfirShtober | last post by:
I have built a window application but i have a problem with it... When I open the exe it is opening not only the window app it also opening a console window which I don't want to see. What can I...
9
2193
pod
by: pod | last post by:
Hello I have a form which contains several textboxes and comboboxes I am able to loop through all the controls on this form and set the value (ctl.Text) to the Textboxes but if I try to...
0
7046
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
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
6956
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
4783
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
2997
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...
0
2986
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
183
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.