Re: .NET Runtime is probably required to run a .NET built EXE, Is




That is great of you.

Please tell me what I am doing is right?
Say I am having a MFC project ( VC6.0 .dsw (or) .dsp file whatever )
I try to open that project in a VS .NET 2003 IDE, It converts the existing
format
of the project file to its own format.
I go the configuration properties page, I see an option like 'Use Managed
Extensions' is disabled in this case( Obviously because it is not a Managed
C++ code ).

Can I turn on that 'Managed C++ Extensions' property and proceed building
that code. Would it be a right way to do?

I tried and I got an error.


cl : Command line error D2016 : '/YXstdafx.h' and '/clr' command-line
options are incompatible.

So what do I do?

Siva.



"Carlos J. Quintero [VB MVP]" wrote:

> VS.NET 2002 /2003 and VS 2005 provides:
>
> - A new managed .NET C++ language and compiler whose executables will
> require the .NET Framework at run time.
>
> - The "old", classic, Win32, C++ language and compiler whose executables
> don´t require .NET, like the VC 6.0 C++ compiler. You are in this case.
>
> --
>
> Best regards,
>
> Carlos J. Quintero
>
> MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
> You can code, design and document much faster.
> Free resources for add-in developers:
> http://www.mztools.com
>
> "sivakumaran" <sivakumaran@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
> news:F2CEADBD-6CAE-49FF-B741-41E72051A535@xxxxxxxxxxxxxxxx
> >
> > I wanted one of my VC++ 6.0 application to be built with .NET compiler
> > without any code changes.
> >
> > I built the same application using VS .NET 2003(probably using VC7.1
> > compiler,
> > correct me if i am wrong)
> > The configuration I have chosen to build is, Debug with static linking.
> > I successfully generated the Executable too.
> >
> > I try to run in a PC of WIndows 2000 or XP that don't have .NET Runtime.
> >
> > It is running fine..........without asking for the .NET runtime is what is
> > my doubt is?
> >
> > Anybody please clarify on this..........
> >
> >
> > Siva.
> >
> >
>
>
>
.



Relevant Pages

  • Re: .NET Runtime is probably required to run a .NET built EXE, Is
    ... it is different from classic Win32 C++. ... > of the project file to its own format. ... > I go the configuration properties page, I see an option like 'Use Managed ... > Can I turn on that 'Managed C++ Extensions' property and proceed building ...
    (microsoft.public.vsnet.general)
  • Re: [fitsbits] Question(s) regarding development of proprietary FITS manipulation software. . .
    ... mandatory keywords which appear in ANY header ... by sub-type I mean here the various kinds of extensions: ... I'll then add that is an old format, now deprecated, and used ... In most cases of the 2-d images they are sky images (and data cubes ...
    (sci.astro.fits)
  • Re: Finding a niche for Tcl
    ... I would gladly volunteer to help "convert" extensions to the correct ... format once I learn what it is supposed to be. ... submit bug reports about typos or missing info in the man ...
    (comp.lang.tcl)
  • Re: Saving in Word (documents in html) without extension - problem
    ... My main line of argument is that if word opens this doc (ie. File->Open not ... that format without alteration to the filename. ... "Beth Melton" wrote: ... > How Word reads a file was modified in Word 2003 and file extensions ...
    (microsoft.public.word.application.errors)