Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. .NET or Win32

.NET or Win32

Scheduled Pinned Locked Moved The Lounge
c++csharpcomquestion
15 Posts 9 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Nemanja Trifunovic

    Boze wrote: How many developers are starting a brand new large scale project using C#/NET For web applications, my company is shifting towards C#/ASP.NET (although we have faced several nasty bugs in .NET framework), but for everything else C++ is still our preferred tool. Not because of performance, but because of it's features, portability, and most of all - we already have a lot of C++ code which we can reuse. :beer:

    P Offline
    P Offline
    Paul Watson
    wrote on last edited by
    #6

    Nemanja Trifunovic wrote: is shifting towards C#/ASP.NET (although we have faced several nasty bugs in .NET framework Care to elaborate? We are moving towards C#/ASP.NET and so far so good.

    Paul Watson
    Bluegrass
    Cape Town, South Africa

    N 1 Reply Last reply
    0
    • B Boze

      How many developers are starting a brand new large scale project using C#/NET? I was just curious. My company has stipulated that C++/MFC/ATL will be used for our new project. I personally think it is a mistake since we can wrap our legacy code in COM and use it in NET.

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #7

      Boze wrote: How many developers are starting a brand new large scale project using C#/NET? We are, but it is for a website so no worries about runtimes and wrapping old COM components and such.

      Paul Watson
      Bluegrass
      Cape Town, South Africa

      1 Reply Last reply
      0
      • B Boze

        How many developers are starting a brand new large scale project using C#/NET? I was just curious. My company has stipulated that C++/MFC/ATL will be used for our new project. I personally think it is a mistake since we can wrap our legacy code in COM and use it in NET.

        M Offline
        M Offline
        Michael P Butler
        wrote on last edited by
        #8

        As much as I'd like to use C# and .NET for a large scale project - unless it involves a lot of web/html and the like then you'll find that it hinders rather than helps get a product out the door. The UI components in .NET are no where near as easy to use (or tried and tested) as MFC. You'll find yourself writing a lot of extra code for things that you take for granted (Wizards for one). I'd wait for the next version if I was you. (Or until Genghis gets off the ground http://www.sellsbrothers.com/tools/genghis/[^]) Michael "I've died for a living in the movies and tv. But the hardest thing I'll ever do is watch my leading ladies, Kiss some other guy while I'm bandaging my knee." -- The Unknown Stuntman

        1 Reply Last reply
        0
        • P Paul Watson

          Nemanja Trifunovic wrote: is shifting towards C#/ASP.NET (although we have faced several nasty bugs in .NET framework Care to elaborate? We are moving towards C#/ASP.NET and so far so good.

          Paul Watson
          Bluegrass
          Cape Town, South Africa

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #9

          Paul Watson wrote: Care to elaborate? Sure. this issue is the biggest headache. Paul Watson wrote: We are moving towards C#/ASP.NET and so far so good. Have you tried to host your ASP.NET apps on clusters? :beer:

          1 Reply Last reply
          0
          • B Boze

            How many developers are starting a brand new large scale project using C#/NET? I was just curious. My company has stipulated that C++/MFC/ATL will be used for our new project. I personally think it is a mistake since we can wrap our legacy code in COM and use it in NET.

            J Offline
            J Offline
            Jody Bell
            wrote on last edited by
            #10

            We actually just started re-writing most of our internal systems in c# and asp.net. So far so good (crossing fingers)...

            1 Reply Last reply
            0
            • S Stephane Rodriguez

              Agreed. And .NET 1.1 is 24MB As a matter of fact, you need more than that (IE6, MDAC2.7, ...). I saw someone somewhere who made an app using VB.NET instead of VB and he ended up installing 190MB of MS run-times, in addition of manually handling the problems. .NET is fine stuff for a lot of futuristic apps such like distributed programming. However, today it's an unproven environment. In the short term, the most added value of .NET is IMHO in the server-side, especially ASP.NET. Using C# and webforms is light years away from what people where used to do with the former ASP stuff. I like the idea of a standardized framework to work with. But that's becoming a true knightmare as releases come (now every quarter, it's a full-time job to figure out the differences between versions). And, on top of that, redistribution is an issue : unlike MFC DLLs you don't control anymore the .NET run-time (the user may update on his own the run-time, thus break the app (worst scenario)). It's unfair to say that COM interop embedded in .NET bridges the former raw COM stuff. In fact, you have a lot of trouble passing parameters in method call depending on the types (and several variant types are not even supported by the marshaller (for instance VARIANT(VARIANT|BYREF), so let me say clearly you are not in a drag&drop situation). Furthermore CCW/RCW marshalling wrappers generated by the environment cannot be debugged as other pieces of code. This, in practice, is a show stopper : it takes much more time than doing the low-level COM stuff instead. My -0.5c


              How low can you go ?
              (MS retrof_u_ck)

              Richard DeemingR Offline
              Richard DeemingR Offline
              Richard Deeming
              wrote on last edited by
              #11

              __Stephane Rodriguez__ wrote: And, on top of that, redistribution is an issue : unlike MFC DLLs you don't control anymore the .NET run-time (the user may update on his own the run-time, thus break the app (worst scenario)). Apart from non-breaking service packs, updates to the framework will install in side-by-side mode, which will prevent updates from breaking your app. It also means that you use twice the disk-space, but with the way HDDs are going, do you really care about the odd 20Mb? ;P __Stephane Rodriguez__ wrote: How low can you go ? (MS retrof***) Ahem! Soapbox[^].

              "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

              S 1 Reply Last reply
              0
              • Richard DeemingR Richard Deeming

                __Stephane Rodriguez__ wrote: And, on top of that, redistribution is an issue : unlike MFC DLLs you don't control anymore the .NET run-time (the user may update on his own the run-time, thus break the app (worst scenario)). Apart from non-breaking service packs, updates to the framework will install in side-by-side mode, which will prevent updates from breaking your app. It also means that you use twice the disk-space, but with the way HDDs are going, do you really care about the odd 20Mb? ;P __Stephane Rodriguez__ wrote: How low can you go ? (MS retrof***) Ahem! Soapbox[^].

                S Offline
                S Offline
                Stephane Rodriguez
                wrote on last edited by
                #12

                Richard_D wrote: Apart from non-breaking service packs, updates to the framework will install in side-by-side mode, which will prevent updates from breaking your app. Nice MS marketing brochure mate. What I say is from personal experience. Multiple .NET run-times : let's wait the first .NET 1.1 apps come. How many of us will be able to properly configure the apps so they run fine on target machines with either .NET 1.0 or .NET 1.1 run-times ? Just let me guess... By the way, how would you manage it ?


                How low can you go ?
                (enculage MS)

                Richard DeemingR 1 Reply Last reply
                0
                • S Stephane Rodriguez

                  Richard_D wrote: Apart from non-breaking service packs, updates to the framework will install in side-by-side mode, which will prevent updates from breaking your app. Nice MS marketing brochure mate. What I say is from personal experience. Multiple .NET run-times : let's wait the first .NET 1.1 apps come. How many of us will be able to properly configure the apps so they run fine on target machines with either .NET 1.0 or .NET 1.1 run-times ? Just let me guess... By the way, how would you manage it ?


                  How low can you go ?
                  (enculage MS)

                  Richard DeemingR Offline
                  Richard DeemingR Offline
                  Richard Deeming
                  wrote on last edited by
                  #13

                  __Stephane Rodriguez__ wrote: What I say is from personal experience. Other than beta software, there has only been one version of the .NET framework released, so nobody can speak from personal experience. __Stephane Rodriguez__ wrote: How many of us will be able to properly configure the apps so they run fine on target machines with either .NET 1.0 or .NET 1.1 run-times ? That's not the point. If you build your app with one version, then the machine you deploy it to must have that version installed. AFAIK, unless you statically link to the MFC dlls, they can be updated by the user as well. Since they don't install side-by-side, how would you cope with making your VC++ 6 app work on a machine with only the VC++ 5 runtimes installed? Just my €0.05! ;P

                  "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                  S 1 Reply Last reply
                  0
                  • Richard DeemingR Richard Deeming

                    __Stephane Rodriguez__ wrote: What I say is from personal experience. Other than beta software, there has only been one version of the .NET framework released, so nobody can speak from personal experience. __Stephane Rodriguez__ wrote: How many of us will be able to properly configure the apps so they run fine on target machines with either .NET 1.0 or .NET 1.1 run-times ? That's not the point. If you build your app with one version, then the machine you deploy it to must have that version installed. AFAIK, unless you statically link to the MFC dlls, they can be updated by the user as well. Since they don't install side-by-side, how would you cope with making your VC++ 6 app work on a machine with only the VC++ 5 runtimes installed? Just my €0.05! ;P

                    S Offline
                    S Offline
                    Stephane Rodriguez
                    wrote on last edited by
                    #14

                    Richard_D wrote: Other than beta software, there has only been one version of the .NET framework released, so nobody can speak from personal experience. Ha ha. Richard_D wrote: That's not the point. If you build your app with one version, then the machine you deploy it to must have that version installed. Which proves you really know what you are talking about... This is true, unless you do something. I am foreseeing that this "something" is highly technical and requires a lot of advanced testing and knowledge of the whole set of .NET run-times and behaviors. Issues with MFC dlls pale in comparison. Richard_D wrote: AFAIK, unless you statically link to the MFC dlls, they can be updated by the user as well. Since they don't install side-by-side, how would you cope with making your VC++ 6 app work on a machine with only the VC++ 5 runtimes installed? Putting the MFC dlls in the app directory doesn't do harm.


                    How low can you go ?
                    (enculage MS)

                    Richard DeemingR 1 Reply Last reply
                    0
                    • S Stephane Rodriguez

                      Richard_D wrote: Other than beta software, there has only been one version of the .NET framework released, so nobody can speak from personal experience. Ha ha. Richard_D wrote: That's not the point. If you build your app with one version, then the machine you deploy it to must have that version installed. Which proves you really know what you are talking about... This is true, unless you do something. I am foreseeing that this "something" is highly technical and requires a lot of advanced testing and knowledge of the whole set of .NET run-times and behaviors. Issues with MFC dlls pale in comparison. Richard_D wrote: AFAIK, unless you statically link to the MFC dlls, they can be updated by the user as well. Since they don't install side-by-side, how would you cope with making your VC++ 6 app work on a machine with only the VC++ 5 runtimes installed? Putting the MFC dlls in the app directory doesn't do harm.


                      How low can you go ?
                      (enculage MS)

                      Richard DeemingR Offline
                      Richard DeemingR Offline
                      Richard Deeming
                      wrote on last edited by
                      #15

                      __Stephane Rodriguez__ wrote: Ha ha. :confused: Have Microsoft secretly released another version of the .NET framework without telling us? __Stephane Rodriguez__ wrote: Putting the MFC dlls in the app directory doesn't do harm. Apart from the size, what's the difference between doing this and having multiple versions of the .NET framework installed? Or, for that matter, copying the assemblies you reference to your application directory? Of course, until Microsoft releases a new version of the framework, we're all just guessing what will happen. I can't guarantee your apps won't break, but MS seems to be busting their balls to make sure they won't.

                      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups