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. Friday musings

Friday musings

Scheduled Pinned Locked Moved The Lounge
csharpphpwpfcomjson
19 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.
  • N Nish Nishant

    Why is it that the 64-bit version of regsvr32.exe is not called regsvr64.exe? I suppose it's to help with backward compatibility where you have tens of thousands of apps and batch files that hard-code a call to regsvr32. But this naming ambiguity leads to all kinds of confusion, which is evident if you do a simple google search on regsvr32. People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit. Well that's another funny thing, System32 actually contains 64 bit files in a 64 bit OS, again for backward compatibility I guess. There are all these apps hardcoding System32 in the path instead of using an appropriate API to get the system-folder. Anyway I was thinking about this last night just as I was going to bed, and thought I'd just mention it here. I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that. :rolleyes:

    Regards, Nish


    My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

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

    Nishant Sivakumar wrote:

    Anyway I was thinking about this last night just as I was going to bed ...

    That sounds pretty boring ...

    CQ de W5ALT

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

    N 1 Reply Last reply
    0
    • N Nish Nishant

      Why is it that the 64-bit version of regsvr32.exe is not called regsvr64.exe? I suppose it's to help with backward compatibility where you have tens of thousands of apps and batch files that hard-code a call to regsvr32. But this naming ambiguity leads to all kinds of confusion, which is evident if you do a simple google search on regsvr32. People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit. Well that's another funny thing, System32 actually contains 64 bit files in a 64 bit OS, again for backward compatibility I guess. There are all these apps hardcoding System32 in the path instead of using an appropriate API to get the system-folder. Anyway I was thinking about this last night just as I was going to bed, and thought I'd just mention it here. I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that. :rolleyes:

      Regards, Nish


      My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

      M Offline
      M Offline
      Mechanical
      wrote on last edited by
      #10

      regsvr32 ... Different versions in different directories. Doing different things. Both put the info in different locations. And if you happen to have to use a 32bit ActiveX in a 64bit app, then you better remember which regsvr to use.

      Nishant Sivakumar wrote:

      People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit.

      People are my greatest enemies. Programmers, on the other hand are fine humanoids who know the difference between 32 and 64. People have started programming these days, unfortunately.

      Nishant Sivakumar wrote:

      I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that.

      The Lounge.aspx is mostly spam these days. Spammers make threads and are the first to respond to other threads no matter what... unless the thread is useful (like this one).

      NULL

      N H 2 Replies Last reply
      0
      • S Single Step Debugger

        The problem is that in Windows 7 for some reason you HAVE TO hardcode the paths in the batch file. It wasn’t like this in the XP. For example you need to have C:\Windows\System32\REGSVR32.EXE “C:\some dir\some sub-dir>\<some sub-sub-dir\your.dll>” instead of just REGSVR32.EXE .\your.dll.

        The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

        N Offline
        N Offline
        Nish Nishant
        wrote on last edited by
        #11

        Really? I am on Windows 7 64 bit, and regsvr32 maps automatically to c:\windows\system32\regsvr32.exe (because of the search path).

        Regards, Nish


        My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

        S 1 Reply Last reply
        0
        • D Dr Walt Fair PE

          Nishant Sivakumar wrote:

          Anyway I was thinking about this last night just as I was going to bed ...

          That sounds pretty boring ...

          CQ de W5ALT

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

          N Offline
          N Offline
          Nish Nishant
          wrote on last edited by
          #12

          Walt Fair, Jr. wrote:

          That sounds pretty boring ...

          What else do you expect from a middle aged married guy with a son? :rolleyes:

          Regards, Nish


          My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

          D 1 Reply Last reply
          0
          • M Mechanical

            regsvr32 ... Different versions in different directories. Doing different things. Both put the info in different locations. And if you happen to have to use a 32bit ActiveX in a 64bit app, then you better remember which regsvr to use.

            Nishant Sivakumar wrote:

            People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit.

            People are my greatest enemies. Programmers, on the other hand are fine humanoids who know the difference between 32 and 64. People have started programming these days, unfortunately.

            Nishant Sivakumar wrote:

            I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that.

            The Lounge.aspx is mostly spam these days. Spammers make threads and are the first to respond to other threads no matter what... unless the thread is useful (like this one).

            NULL

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #13

            Mechanical wrote:

            The Lounge.aspx is mostly spam these days. Spammers make threads and are the first to respond to other threads no matter what... unless the thread is useful (like this one).

            :laugh: Thank you :-)

            Regards, Nish


            My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

            1 Reply Last reply
            0
            • M Mechanical

              regsvr32 ... Different versions in different directories. Doing different things. Both put the info in different locations. And if you happen to have to use a 32bit ActiveX in a 64bit app, then you better remember which regsvr to use.

              Nishant Sivakumar wrote:

              People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit.

              People are my greatest enemies. Programmers, on the other hand are fine humanoids who know the difference between 32 and 64. People have started programming these days, unfortunately.

              Nishant Sivakumar wrote:

              I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that.

              The Lounge.aspx is mostly spam these days. Spammers make threads and are the first to respond to other threads no matter what... unless the thread is useful (like this one).

              NULL

              H Offline
              H Offline
              Henry Minute
              wrote on last edited by
              #14

              You have a very strange idea of what constitutes spam. If you find most threads in The Lounge to be uninteresting, that's one thing and is what you should say, but to accuse fellow members of being spammers is an insult.

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

              1 Reply Last reply
              0
              • N Nish Nishant

                Really? I am on Windows 7 64 bit, and regsvr32 maps automatically to c:\windows\system32\regsvr32.exe (because of the search path).

                Regards, Nish


                My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

                S Offline
                S Offline
                Single Step Debugger
                wrote on last edited by
                #15

                We are also with Win 7 64 and the search pat is set but we’re struggling to find solution from months.

                The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word. Advertise here – minimum three posts per day are guaranteed.

                1 Reply Last reply
                0
                • N Nish Nishant

                  Walt Fair, Jr. wrote:

                  That sounds pretty boring ...

                  What else do you expect from a middle aged married guy with a son? :rolleyes:

                  Regards, Nish


                  My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

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

                  Well, I'm an old guy with 18 grandkids. You don't get to that point by thinking about regsvr32 and System32 when you're middle aged and going to bed ...

                  CQ de W5ALT

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

                  N 1 Reply Last reply
                  0
                  • H Henry Minute

                    According to recent links, Wait will be 128bit so things will be twice as bad.

                    Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                    I Offline
                    I Offline
                    Indivara
                    wrote on last edited by
                    #17

                    Shouldn't that be Weight? (though Wait is probably applicable too, since that's what they make us do every time)

                    1 Reply Last reply
                    0
                    • N Nish Nishant

                      Why is it that the 64-bit version of regsvr32.exe is not called regsvr64.exe? I suppose it's to help with backward compatibility where you have tens of thousands of apps and batch files that hard-code a call to regsvr32. But this naming ambiguity leads to all kinds of confusion, which is evident if you do a simple google search on regsvr32. People don't often realize that in 64 bit Windows, the regsvr32.exe in the System32 folder is actually 64 bit. Well that's another funny thing, System32 actually contains 64 bit files in a 64 bit OS, again for backward compatibility I guess. There are all these apps hardcoding System32 in the path instead of using an appropriate API to get the system-folder. Anyway I was thinking about this last night just as I was going to bed, and thought I'd just mention it here. I know it's not a CCC, or a poorly worded joke, or even an xyz-sucks thread. So I am aware that it's kinda off-topic here, please accept my apologies for that. :rolleyes:

                      Regards, Nish


                      My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

                      P Offline
                      P Offline
                      PIEBALDconsult
                      wrote on last edited by
                      #18

                      That's the same sort of thinking that made me laugh when MS described how simple things would be because they named Windows 95... Windows 95. "No more version numbers! If it says it works on Windows 95 it will work on Windows 95!" Yeah, right, that'll last about six months... :rolleyes:

                      1 Reply Last reply
                      0
                      • D Dr Walt Fair PE

                        Well, I'm an old guy with 18 grandkids. You don't get to that point by thinking about regsvr32 and System32 when you're middle aged and going to bed ...

                        CQ de W5ALT

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

                        N Offline
                        N Offline
                        Nish Nishant
                        wrote on last edited by
                        #19

                        Walt Fair, Jr. wrote:

                        Well, I'm an old guy with 18 grandkids. You don't get to that point by thinking about regsvr32 and System32 when you're middle aged and going to bed ...

                        :laugh: :thumbsup:

                        Regards, Nish


                        My technology blog: voidnish.wordpress.com Code Project Forums : New Posts Monitor This application monitors for new posts in the Code Project forums.

                        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