Re: standalone exe?

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Roger Levy (rhl_at_i3e.org)
Date: 02/14/05


Date: Mon, 14 Feb 2005 18:21:23 -0500

Can someone verify that if I develop in C++ .Net that the CLR and framework are
required on the target machine? I am only an occasional user of these tools but
it was my impression that C++ in .Net was an upgrade of VC++ 6 rather than a
complete departure in the direction of the CLR. I have written one simple
dialog based app in C++ .Net and I just took it to a Win98 machine that *does
not have* the .Net environment installed and the program started to the level of
displaying my dialog window (I don't have other resources on that machine for a
complete functional test). This result seems to stand in opposition to the
statements made below.

I created my app with the startup wizard as an MFC dialog based app. I don't
think the wizard asked me whether or not I wanted to create managed code.

RHL

"William Stacey [MVP]" wrote:
>
> But c++ .Net also requires the CLR and framework. So what you want is to
> compile all your code and framework libraries to native code. The only
> thing I know that does something close is
> http://www.remotesoft.com/salamander/. However, I don't feel confortable
> with that either. So require the framework and write managed code. Or
> write native code in c/c++.
>
> --
> William Stacey, MVP
> http://mvp.support.microsoft.com
>
> "Valli" <valliappan@nospam.hotpop.com> wrote in message
> news:ezhdy2yDFHA.2180@TK2MSFTNGP10.phx.gbl...
> > Carlos J. Quintero [.NET MVP] wrote:
> > > You can create .NET applications (Consoles, DLLs, or Windows Forms)
> using
> > > C#, VB.NET or managed C++. So, it is your choice.
> > >
> >
> > Ya, but can I run the compiled exe without .net framework installed, say
> > by compiling to c++.net?

-- 
Change "3e" in my address to "eee"


Relevant Pages

  • Re: which is a better dev language
    ... Java is not real time either - no runtime with a GC is. ... Managed code on the desktop succeeds for the same ... Run a .NET app on a Palm device with a Palm OS? ... Managed code has a slow startup as the framework is loaded and JITted ...
    (microsoft.public.pocketpc.developer)
  • Re: Studio 2005 and Framework 1.1
    ... App compiled for 2.0 will work on 2.0. ... Hence, you may have 1.0, 1.1 and 2.0 frameworks installed, but CLR ... the CLR from the latest Framework will run? ... mscorwks.dll) and is replaced by the most recent installation of .NET. ...
    (microsoft.public.vsnet.general)
  • Re: A question on 1.1 and 2.0 interoperability
    ... He stated that only one version of the CLR can be hosted in a process. ... there are major consequenses each time the framework ... All libraries that you bought from third parties need to upgraded, ... activeX, but now that we entered the world of managed code, we are again ...
    (microsoft.public.dotnet.framework)
  • Re: How do I get VB.Net to use .net framework 3.5?
    ... libraries also use the 2.0 CLR and therefore from your apps perspective, ... It will still be running under 2.0 CLR ... your app will just work. ... The 3.5 framework redistributable/Windows update is much bigger than ...
    (microsoft.public.dotnet.languages.vb)
  • Re: OODesign - OPF, design pattern
    ... I developed a Pocket PC app last year using the compact framework. ... Maybe my design is just very simple then, ... and its in the application layer not the business ...
    (borland.public.delphi.non-technical)