Console window switch - vc2005 C++/clr/MASM project

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Sorry if this shows twice - seems my post yesterday didn't
make it.

I have a project that mixes C++/clr and MASM in a single
exe. The MASM code is assembled into a static library
which is linked into the C++/clr startup project.

The exe starts with a console window which I don't want.

With the VS 2005 beta, I was able to switch between "Windows
application" and "Console application" in a tab somewhere inside
the project settings. However this seems to have disappered or
have been moved to a place I can't find.

The online help - console applications - says I should be able to
"set the project's Common Properties\General\Output Type".

But Common Properties\General only shows References,
no Output Type thing.

I think it boils down to a linker switch - IIRC, the console
window creation is controlled by a bit in the exe which is
set or reset by the linker (Borland ILINK uses -aa vs. -ap),
but the linker options listed in the online help don't include
t - at least not in an obvious way.

This ought to be trivial, but I'm no fan of lengthy t pursuit
games, so if someone could just hand me the pie...

(Maybe some options aren't shown because I'm developing
on a danish XP pro???)


.



Relevant Pages

  • Re: Console Windows Forms hybrid
    ... In the console application, if no parameters are passed on the ... just launch the EXE and then exit. ... it runs as a console app. ... This is workable - I have a little shim launcher program whose ...
    (microsoft.public.dotnet.languages.csharp)
  • RE: Strange behavour of Process
    ... Did the all the EXE are of Console Application? ... Have you tried to write a test console application for a test to see if ... Microsoft Online Partner Support ...
    (microsoft.public.dotnet.framework)
  • Re: Release configuration link times
    ... size to the output window. ... The main exe links against quite a few static libs. ... > * how much memory is the linker consuming? ... Lastly, constructing a link repro. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Can all functions of a static library be compiled in without any calls
    ... the functions (via function pointers) in the EXE anyhow in order to ... calls to that function to convince the linker that it needs to be added to ... by external plugins (DLLs). ...
    (microsoft.public.vc.language)
  • Re: in stdafx.h and std::nothrow causes export from EXE
    ... I'm not 100% sure as of why this exports appears. ... linker reorders some of functions even if /ORDER switch isn't specified. ... I think that exporting `_Init_locks::operator=' from EXE is some harmless linker quirk. ... While searching for solution I noticed that static multithread Standard C++ Library doesn't contain `_Init_locks::operator=' among its symbols. ...
    (microsoft.public.vc.language)