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. Managed code is really unmanageable

Managed code is really unmanageable

Scheduled Pinned Locked Moved The Lounge
csharphelpquestion
36 Posts 11 Posters 0 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.
  • M Marc Clifton

    Muammar© wrote:

    What do you do??

    Tell them to install the .NET framework! Marc

    M Offline
    M Offline
    Muammar
    wrote on last edited by
    #3

    Marc Clifton wrote:

    Tell them to install the .NET framework!

    I always do, but do you think it's comfortable to ask someone to install a 40 MBs file to run a 100 KBs file?? Besides, they always have the question, why would we need this?? Just to run your applications?? We never had it and never needed it!! Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you :laugh:

    M D 2 Replies Last reply
    0
    • M Marc Clifton

      Muammar© wrote:

      What do you do??

      Tell them to install the .NET framework! Marc

      E Offline
      E Offline
      Electron Shepherd
      wrote on last edited by
      #4

      And then explain why a screensaver needs a 280MB runtime...

      Server and Network Monitoring

      D E 2 Replies Last reply
      0
      • E Electron Shepherd

        And then explain why a screensaver needs a 280MB runtime...

        Server and Network Monitoring

        D Offline
        D Offline
        Dalek Dave
        wrote on last edited by
        #5

        Maybe it is a jumbotron screen?

        ------------------------------------ I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave

        1 Reply Last reply
        0
        • M Muammar

          Marc Clifton wrote:

          Tell them to install the .NET framework!

          I always do, but do you think it's comfortable to ask someone to install a 40 MBs file to run a 100 KBs file?? Besides, they always have the question, why would we need this?? Just to run your applications?? We never had it and never needed it!! Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you :laugh:

          M Offline
          M Offline
          Marc Clifton
          wrote on last edited by
          #6

          Muammar© wrote:

          Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you

          Sure, people ask me. In fact, just last week I was helping the school install an upgrade to their fundraising software. The company had switched from SQL Anywhere (soon to become SQL Nowhere) to SQL Express, and while the UI's didn't change, they were obviously using .NET for their DAL. My friend asked me, why do I have to install .NET now? My answer is basically always "because it's a necessary component." Everyone ooh's and ahhh's over how knowledgeable I am. :rolleyes: BTW, there are some products (and I think even a free one or two) that extract out the functions that your app uses and packages them up, so you don't actually need the whole .NET Framework installed. Never tried them though. Marc

          M D 2 Replies Last reply
          0
          • M Marc Clifton

            Muammar© wrote:

            Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you

            Sure, people ask me. In fact, just last week I was helping the school install an upgrade to their fundraising software. The company had switched from SQL Anywhere (soon to become SQL Nowhere) to SQL Express, and while the UI's didn't change, they were obviously using .NET for their DAL. My friend asked me, why do I have to install .NET now? My answer is basically always "because it's a necessary component." Everyone ooh's and ahhh's over how knowledgeable I am. :rolleyes: BTW, there are some products (and I think even a free one or two) that extract out the functions that your app uses and packages them up, so you don't actually need the whole .NET Framework installed. Never tried them though. Marc

            M Offline
            M Offline
            Muammar
            wrote on last edited by
            #7

            Marc Clifton wrote:

            there are some products (and I think even a free one or two) that extract out the functions that your app uses and packages them up, so you don't actually need the whole .NET Framework installed. Never tried them though.

            Sounds nice, I think I'll try digging that option.

            Marc Clifton wrote:

            My answer is basically always "because it's a necessary component.

            I have "EXACTLY" the same answer to everyone!

            1 Reply Last reply
            0
            • M Muammar

              I just developed some screen saver and spread it among my friends world wide, and although I specified the target framework to be .NetFramework 2.0, almost everyone complained that they can't run it! Even on Windows Vista!! On the bright side, only Windows7 plays it without the need to install the dotNet framework! Anyone have the same problem?? What do you do??

              M Offline
              M Offline
              Mladen Jankovic
              wrote on last edited by
              #8

              Muammar© wrote:

              What do you do??

              Write it using native API and proper language.

              [Genetic Algorithm Library] [Wowd]

              P 1 Reply Last reply
              0
              • M Mladen Jankovic

                Muammar© wrote:

                What do you do??

                Write it using native API and proper language.

                [Genetic Algorithm Library] [Wowd]

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #9

                Tell me, do you bind the lib files into your executable, potentially bloating the size, or require them to have the necessary runtime DLLs installed on their machines up front? Answers like this, while glib, tend to be very misleading.

                "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                My blog | My articles | MoXAML PowerToys | Onyx

                modified on Monday, July 19, 2010 7:21 AM

                E M 2 Replies Last reply
                0
                • P Pete OHanlon

                  Tell me, do you bind the lib files into your executable, potentially bloating the size, or require them to have the necessary runtime DLLs installed on their machines up front? Answers like this, while glib, tend to be very misleading.

                  "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                  As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                  My blog | My articles | MoXAML PowerToys | Onyx

                  modified on Monday, July 19, 2010 7:21 AM

                  E Offline
                  E Offline
                  Electron Shepherd
                  wrote on last edited by
                  #10

                  We use C++, and statically bind everything into the executable. Your assumption that the technique bloats the size is "very misleading", since the resulting output may well be smaller than a dynamically bound executable and the associated runtime.

                  Server and Network Monitoring

                  P 1 Reply Last reply
                  0
                  • E Electron Shepherd

                    We use C++, and statically bind everything into the executable. Your assumption that the technique bloats the size is "very misleading", since the resulting output may well be smaller than a dynamically bound executable and the associated runtime.

                    Server and Network Monitoring

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #11

                    Electron Shepherd wrote:

                    Your assumption that the technique bloats the size is "very misleading",

                    True, and I shall modify the offending statement.

                    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                    My blog | My articles | MoXAML PowerToys | Onyx

                    1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Tell me, do you bind the lib files into your executable, potentially bloating the size, or require them to have the necessary runtime DLLs installed on their machines up front? Answers like this, while glib, tend to be very misleading.

                      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                      My blog | My articles | MoXAML PowerToys | Onyx

                      modified on Monday, July 19, 2010 7:21 AM

                      M Offline
                      M Offline
                      Mladen Jankovic
                      wrote on last edited by
                      #12

                      Hm, let me check your statement. Are you're complaining about few hundreds of kilobytes in the worst case (if you're using MFC for instance) while we are talking about frameworks that weight tens of megabytes and requires additional downloading and installation by the users? 'Elephant in the room', anyone? Man, the metaphor works in so many ways, here.

                      [Genetic Algorithm Library] [Wowd]

                      P 1 Reply Last reply
                      0
                      • M Marc Clifton

                        Muammar© wrote:

                        Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you

                        Sure, people ask me. In fact, just last week I was helping the school install an upgrade to their fundraising software. The company had switched from SQL Anywhere (soon to become SQL Nowhere) to SQL Express, and while the UI's didn't change, they were obviously using .NET for their DAL. My friend asked me, why do I have to install .NET now? My answer is basically always "because it's a necessary component." Everyone ooh's and ahhh's over how knowledgeable I am. :rolleyes: BTW, there are some products (and I think even a free one or two) that extract out the functions that your app uses and packages them up, so you don't actually need the whole .NET Framework installed. Never tried them though. Marc

                        D Offline
                        D Offline
                        Dan Neely
                        wrote on last edited by
                        #13

                        Remotesoft[^] (warning web site navigation does not work in firefox) has one. It costs over a grand and sucks. You still end up with a fairly large chunk of the framework in your apps folder (basically all the native components) and you generally need to manually add additional framework DLLs to correct runtime errors at startup. The latter problem is supposedly because it gets confused by patches to the framework; :wtf: but regardless I recommend staying far, far, away.

                        3x12=36 2x12=24 1x12=12 0x12=18

                        1 Reply Last reply
                        0
                        • M Mladen Jankovic

                          Hm, let me check your statement. Are you're complaining about few hundreds of kilobytes in the worst case (if you're using MFC for instance) while we are talking about frameworks that weight tens of megabytes and requires additional downloading and installation by the users? 'Elephant in the room', anyone? Man, the metaphor works in so many ways, here.

                          [Genetic Algorithm Library] [Wowd]

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #14

                          I'm not complaining about anything - just pointing out that your argument indicated that there was no need to download anything else if you did a C/C++ application for instance.

                          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                          My blog | My articles | MoXAML PowerToys | Onyx

                          1 Reply Last reply
                          0
                          • M Muammar

                            I just developed some screen saver and spread it among my friends world wide, and although I specified the target framework to be .NetFramework 2.0, almost everyone complained that they can't run it! Even on Windows Vista!! On the bright side, only Windows7 plays it without the need to install the dotNet framework! Anyone have the same problem?? What do you do??

                            E Offline
                            E Offline
                            El Corazon
                            wrote on last edited by
                            #15

                            Muammar© wrote:

                            Anyone have the same problem?? What do you do??

                            package an installer with VC runtime support. ;P

                            _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                            M 1 Reply Last reply
                            0
                            • E El Corazon

                              Muammar© wrote:

                              Anyone have the same problem?? What do you do??

                              package an installer with VC runtime support. ;P

                              _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                              M Offline
                              M Offline
                              Muammar
                              wrote on last edited by
                              #16

                              Great, I don't know where you guys live but here, we're still running 14-52 KB download rate as the maximum internet speed!! A .net runtime package would take a day to download!!

                              E 1 Reply Last reply
                              0
                              • M Muammar

                                Great, I don't know where you guys live but here, we're still running 14-52 KB download rate as the maximum internet speed!! A .net runtime package would take a day to download!!

                                E Offline
                                E Offline
                                El Corazon
                                wrote on last edited by
                                #17

                                Muammar© wrote:

                                A .net runtime package would take a day to download!!

                                which is why I don't use it... you have a better download rate to some of my machines. More than half my machines will never have a download rate, hand-upgrading machines tends to discourage massive installs as well. No, I use the very small Visual C runtime. Per 2008, that was 1.7mb. I do have a collection of other DLLs, but then I make and distribute my own installers for about a decade now. :)

                                _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                D M 2 Replies Last reply
                                0
                                • E El Corazon

                                  Muammar© wrote:

                                  A .net runtime package would take a day to download!!

                                  which is why I don't use it... you have a better download rate to some of my machines. More than half my machines will never have a download rate, hand-upgrading machines tends to discourage massive installs as well. No, I use the very small Visual C runtime. Per 2008, that was 1.7mb. I do have a collection of other DLLs, but then I make and distribute my own installers for about a decade now. :)

                                  _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                  D Offline
                                  D Offline
                                  Dan Neely
                                  wrote on last edited by
                                  #18

                                  I think the size of a runtime is negligible next to some of the data sets you've worked with. :rolleyes:

                                  3x12=36 2x12=24 1x12=12 0x12=18

                                  E 1 Reply Last reply
                                  0
                                  • D Dan Neely

                                    I think the size of a runtime is negligible next to some of the data sets you've worked with. :rolleyes:

                                    3x12=36 2x12=24 1x12=12 0x12=18

                                    E Offline
                                    E Offline
                                    El Corazon
                                    wrote on last edited by
                                    #19

                                    Dan Neely wrote:

                                    I think the size of a runtime is negligible next to some of the data sets you've worked with.

                                    come on.... you don't HAVE to use the whole earth and every location we have.... I mean... the state of New Mexico, the entire state at 10m elevation grid and 1 meter imagery is only 350gb... we've still only got a smidgen over 500gb of terrains built. ;P ;P ;P

                                    _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                    D 1 Reply Last reply
                                    0
                                    • E Electron Shepherd

                                      And then explain why a screensaver needs a 280MB runtime...

                                      Server and Network Monitoring

                                      E Offline
                                      E Offline
                                      El Corazon
                                      wrote on last edited by
                                      #20

                                      Electron Shepherd wrote:

                                      And then explain why a screensaver needs a 280MB runtime...

                                      My lightning screen saver that still is running around somewhere on the internet (from 2002 I think), only requires a small Visual C one. :-D

                                      _________________________ John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others." Shhhhh.... I am not really here. I am a figment of your imagination.... I am still in my cave so this must be an illusion....

                                      1 Reply Last reply
                                      0
                                      • M Muammar

                                        Marc Clifton wrote:

                                        Tell them to install the .NET framework!

                                        I always do, but do you think it's comfortable to ask someone to install a 40 MBs file to run a 100 KBs file?? Besides, they always have the question, why would we need this?? Just to run your applications?? We never had it and never needed it!! Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you :laugh:

                                        D Offline
                                        D Offline
                                        Dr Walt Fair PE
                                        wrote on last edited by
                                        #21

                                        Muammar© wrote:

                                        do you think it's comfortable to ask someone to install a 40 MBs file to run a 100 KBs file??

                                        Yes. Library overhead aside, that happens to be the reason it's a 100 KB app and not a 40.1 MB application.

                                        Muammar© wrote:

                                        they always have the question, why would we need this?? Just to run your applications?? We never had it and never needed it!!

                                        If they don't want to run any managed, .NET applications, great. Then you need to write your software for your target consumers. Your bad.

                                        Muammar© wrote:

                                        Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you

                                        I'm not Marc, but this never happens to me. All of the users I've run across in the past 2 or 3 years already have .NET installed. Of course my installation checks for that and will install it if need be, but since most of the installations are on non-internet computers, if they had to open an internet connection to get .NET, I'd hear about it.

                                        CQ de W5ALT

                                        Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                                        D M 2 Replies Last reply
                                        0
                                        • D Dr Walt Fair PE

                                          Muammar© wrote:

                                          do you think it's comfortable to ask someone to install a 40 MBs file to run a 100 KBs file??

                                          Yes. Library overhead aside, that happens to be the reason it's a 100 KB app and not a 40.1 MB application.

                                          Muammar© wrote:

                                          they always have the question, why would we need this?? Just to run your applications?? We never had it and never needed it!!

                                          If they don't want to run any managed, .NET applications, great. Then you need to write your software for your target consumers. Your bad.

                                          Muammar© wrote:

                                          Face it Marc, just look me in the eye and tell me this doesn't sound familiar to you

                                          I'm not Marc, but this never happens to me. All of the users I've run across in the past 2 or 3 years already have .NET installed. Of course my installation checks for that and will install it if need be, but since most of the installations are on non-internet computers, if they had to open an internet connection to get .NET, I'd hear about it.

                                          CQ de W5ALT

                                          Walt Fair, Jr., P. E. Comport Computing Specializing in Technical Engineering Software

                                          D Offline
                                          D Offline
                                          Dan Neely
                                          wrote on last edited by
                                          #22

                                          Walt Fair, Jr. wrote:

                                          I'm not Marc, but this never happens to me. All of the users I've run across in the past 2 or 3 years already have .NET installed. Of course my installation checks for that and will install it if need be, but since most of the installations are on non-internet computers, if they had to open an internet connection to get .NET, I'd hear about it.

                                          Doesn't seem to be a problem in your case; but if you're doing offline installs via CD/etc you can put the redistributable installer on instead of the downloader and have that install the framework.

                                          3x12=36 2x12=24 1x12=12 0x12=18

                                          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