Compite Native code with .NET 2003

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jedi200581@yahoo.co.uk

    #1

    Compite Native code with .NET 2003

    Hi!

    Is there anyway to compile native Win32 application with .NET 2003 and
    thus write program for computer which doesn't have the framwork
    installed ?

    If not ----> gcc!!

    Thanks.

  • Willy Denoyette [MVP]

    #2
    Re: Compite Native code with .NET 2003


    <jedi200581@yah oo.co.uk> wrote in message
    news:1114027801 .966170.74860@f 14g2000cwb.goog legroups.com...[color=blue]
    > Hi!
    >
    > Is there anyway to compile native Win32 application with .NET 2003 and
    > thus write program for computer which doesn't have the framwork
    > installed ?
    >
    > If not ----> gcc!!
    >
    > Thanks.
    >[/color]

    Yes, C++ is part of VS2003.

    Willy.


    Comment

    • jedi200581@yahoo.co.uk

      #3
      Re: Compite Native code with .NET 2003


      Willy Denoyette [MVP] wrote:[color=blue]
      > <jedi200581@yah oo.co.uk> wrote in message
      > news:1114027801 .966170.74860@f 14g2000cwb.goog legroups.com...[color=green]
      > > Hi!
      > >
      > > Is there anyway to compile native Win32 application with .NET 2003[/color][/color]
      and[color=blue][color=green]
      > > thus write program for computer which doesn't have the framwork
      > > installed ?
      > >
      > > If not ----> gcc!!
      > >
      > > Thanks.
      > >[/color]
      >
      > Yes, C++ is part of VS2003.
      >
      > Willy.[/color]

      Ok, but is there anyway to specify VS2003 GUI to use C++ in place of
      cl.exe ? If I'm using the GUI it's to avoid dealing with the makefile
      business. I checked out the different project settings and I didn't
      notice anything about native compilation or an option to choose the
      compiler...

      If you have any clues, let me know.

      Thanks.

      Comment

      • Willy Denoyette [MVP]

        #4
        Re: Compite Native code with .NET 2003


        <jedi200581@yah oo.co.uk> wrote in message
        news:1114077331 .940405.259950@ f14g2000cwb.goo glegroups.com.. .[color=blue]
        >
        > Willy Denoyette [MVP] wrote:[color=green]
        >> <jedi200581@yah oo.co.uk> wrote in message
        >> news:1114027801 .966170.74860@f 14g2000cwb.goog legroups.com...[color=darkred]
        >> > Hi!
        >> >
        >> > Is there anyway to compile native Win32 application with .NET 2003[/color][/color]
        > and[color=green][color=darkred]
        >> > thus write program for computer which doesn't have the framwork
        >> > installed ?
        >> >
        >> > If not ----> gcc!!
        >> >
        >> > Thanks.
        >> >[/color]
        >>
        >> Yes, C++ is part of VS2003.
        >>
        >> Willy.[/color]
        >
        > Ok, but is there anyway to specify VS2003 GUI to use C++ in place of
        > cl.exe ? If I'm using the GUI it's to avoid dealing with the makefile
        > business. I checked out the different project settings and I didn't
        > notice anything about native compilation or an option to choose the
        > compiler...
        >
        > If you have any clues, let me know.
        >
        > Thanks.
        >[/color]

        In vs2003 if you can create a visual c++ win32 project, automatically the
        project will be built using the VS C++ compiler and generate native code
        that doesn't require the .NET framework.

        Willy.


        Comment

        • Cor Ligthert

          #5
          Re: Compite Native code with .NET 2003

          Willy,
          [color=blue]
          > that doesn't require the .NET framework.
          >[/color]
          Does not use the benefits from the .NET framework.

          :-)))

          Cor


          Comment

          • jedi200581@yahoo.co.uk

            #6
            Re: Compite Native code with .NET 2003

            I'm sorry to insist, but I created the application using the "win 32
            project" label and when I launch the application on a computer without
            the Framework, he asks for MSVCR71D.dll (or MSVCR71.dll). I assumed it
            was a framework stuff. This dll is related to Visual 7.1 obviously, and
            I guess that you don't need to install visual to run application
            compiled with it ?

            Thanks.

            Comment

            • jedi200581@yahoo.co.uk

              #7
              Re: Compite Native code with .NET 2003

              I'm sorry to insist, but I created the application using the "win 32
              project" label and when I launch the application on a computer without
              the Framework, he asks for MSVCR71D.dll (or MSVCR71.dll). I assumed it
              was a framework stuff. This dll is related to Visual 7.1 obviously, and
              I guess that you don't need to install visual to run application
              compiled with it ?

              Thanks.

              Comment

              • jedi200581@yahoo.co.uk

                #8
                Re: Compite Native code with .NET 2003

                I just ask to be conviced. What are the benefits ?
                Note that I'm using C++, fox-toolkit for the interface and boost
                libraries for some utilities.
                So what are the benefits of the framework, compared with the obligation
                to install it on every machine that need to execute the application.

                Let's be clear, I'm not anti-microsoft at all, but I have to say that
                this framework is a pain in the a**.

                No offense.

                Comment

                • Willy Denoyette [MVP]

                  #9
                  Re: Compite Native code with .NET 2003


                  <jedi200581@yah oo.co.uk> wrote in message
                  news:1114080875 .486884.117930@ f14g2000cwb.goo glegroups.com.. .[color=blue]
                  > I'm sorry to insist, but I created the application using the "win 32
                  > project" label and when I launch the application on a computer without
                  > the Framework, he asks for MSVCR71D.dll (or MSVCR71.dll). I assumed it
                  > was a framework stuff. This dll is related to Visual 7.1 obviously, and
                  > I guess that you don't need to install visual to run application
                  > compiled with it ?
                  >
                  > Thanks.
                  >[/color]

                  No, these are the C runtime DLL's (both debug non debug), you have to deploy
                  these with your application. You see wheter you use the .NET framework or
                  native C++ (and even VB) you always have a run-time with it.
                  Note that these DLL's are installed with the .NET framework, because .NET
                  needs the C run-time as well.

                  Willy.




                  Comment

                  • jedi200581@yahoo.co.uk

                    #10
                    Re: Compite Native code with .NET 2003

                    Ok, I understand. It's weird that those dlls are not installed on
                    windows by default. Maybe there is a way to link statically those
                    libraries so I don't have to care about it.

                    I'll take a look and let everybody know on this newsgroup, if ever
                    someone is interested ;p

                    Thanks.

                    Comment

                    • Cor Ligthert

                      #11
                      Re: Compite Native code with .NET 2003

                      Jedi,

                      Not to offend, however I know that the UK is/was the last country in Europe:

                      That did not use meters
                      That did not use kilo's
                      That did not use a decimal currency
                      That still drive on the left side of the road (with Eire however they should
                      because they have to pass England to come on the Continent).

                      And probably will be the last ones who not are using the Euro in the EU.
                      Probably they will introduce that a short time after Turkey did that.

                      I know that your arguments are that not using those is better. I know the
                      arguments you are from Brittain.

                      Do you want me to say more?

                      Just my thought,

                      Cor


                      Comment

                      • Cor Ligthert

                        #12
                        Re: Compite Native code with .NET 2003

                        Sorry,

                        I could not resist on this one.

                        Cor


                        Comment

                        • Willy Denoyette [MVP]

                          #13
                          Re: Compite Native code with .NET 2003


                          <jedi200581@yah oo.co.uk> wrote in message
                          news:1114084507 .099026.32060@o 13g2000cwo.goog legroups.com...[color=blue]
                          > Ok, I understand. It's weird that those dlls are not installed on
                          > windows by default. Maybe there is a way to link statically those
                          > libraries so I don't have to care about it.
                          >
                          > I'll take a look and let everybody know on this newsgroup, if ever
                          > someone is interested ;p
                          >
                          > Thanks.
                          >[/color]

                          Those DLL's are never installed by default unless the OS or OS components
                          needs them itself.
                          For instance Windows 2003 (as part of .NETv1.1) and XP SP2 do install these,
                          while others like W98, NT4 don't, which quite normal as these OS predate
                          this version of the C runtime.

                          Willy.



                          Comment

                          • jedi200581@yahoo.co.uk

                            #14
                            Re: Compite Native code with .NET 2003

                            Well, if these are your arguments, I think I'm not doing any mistake
                            here.
                            Moreover, as a french, I totally agree with you about England, it's
                            maybe the reason why I never been there.

                            Allez, sans rancunes. ;)

                            PS: I'm quite flattered that you thought I was english, my writing
                            skills are not so bad finally!

                            Comment

                            • Ross Presser

                              #15
                              Re: Compite Native code with .NET 2003

                              On 21 Apr 2005 12:12:56 -0700, jedi200581@yaho o.co.uk wrote:
                              [color=blue]
                              > PS: I'm quite flattered that you thought I was english, my writing
                              > skills are not so bad finally![/color]

                              The .uk at the end of your email led us to believe you were British.

                              Comment

                              Working...