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. General Programming
  3. C#
  4. How Windows works...

How Windows works...

Scheduled Pinned Locked Moved C#
questionlearning
12 Posts 8 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.
  • P Offline
    P Offline
    profoundwhispers
    wrote on last edited by
    #1

    I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

    M P H K E 6 Replies Last reply
    0
    • P profoundwhispers

      I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

      M Offline
      M Offline
      Mazdak
      wrote on last edited by
      #2

      I don't think you can find a book for a whole of windows cause it has very very different parts,also it is not open source ,so I'm not sure you can find out exactly all parts for that. But you can get some information if you want to work on a specific field ,you can get a book specially for that part. For example you can find out a lot about securities and how windows security acts in a books that specially about this topic. Same about other field.There is no general book for general purpose I think. Mazy No sig. available now.

      P 1 Reply Last reply
      0
      • M Mazdak

        I don't think you can find a book for a whole of windows cause it has very very different parts,also it is not open source ,so I'm not sure you can find out exactly all parts for that. But you can get some information if you want to work on a specific field ,you can get a book specially for that part. For example you can find out a lot about securities and how windows security acts in a books that specially about this topic. Same about other field.There is no general book for general purpose I think. Mazy No sig. available now.

        P Offline
        P Offline
        profoundwhispers
        wrote on last edited by
        #3

        Okay, lets say threading. Sammy "A good friend, is like a good book: the inside is better than the cover..."

        M 1 Reply Last reply
        0
        • P profoundwhispers

          Okay, lets say threading. Sammy "A good friend, is like a good book: the inside is better than the cover..."

          M Offline
          M Offline
          Mazdak
          wrote on last edited by
          #4

          Well, donna know any books,but you can search CP and find some articles about it which may helps you. Another source is here: Threading in a windows form[^] Mazy No sig. available now.

          1 Reply Last reply
          0
          • P profoundwhispers

            I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

            P Offline
            P Offline
            pseudonym67
            wrote on last edited by
            #5

            learn to program windows in c Once you've spent a couple of years writing your own message loops and finding out just how many windows it really takes to do the simpliest things, you'll know how it works. Admittedly given most of todays languages and programming jobs the knowledge will be next to useless but it can have its rewards. pseudonym67 Neural Dot Net Articles 1-11 Start Here Fuzzy Dot Net Articles 1-4 Start Here PathFinder Game Of Life 2 Life Wars

            B 1 Reply Last reply
            0
            • P profoundwhispers

              I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

              H Offline
              H Offline
              Heath Stewart
              wrote on last edited by
              #6

              How about the Microsoft Developer Network: http://msdn.microsoft.com[^]. Click on Library for the Platform SDK, Office SDK, .NET SDK, and many other topics. Learning the Platform SDK (PSDK) will give you some insights, but not many people can say how everything works internally. The PSDK seemed to be enough for the Wine development team to emulate Windows on linux and BSD!

              -----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----

              1 Reply Last reply
              0
              • P profoundwhispers

                I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

                K Offline
                K Offline
                Kentamanos
                wrote on last edited by
                #7

                You should take a look at the "Programming Windows" books (I think 5th edition is the current one?) by Charles Petzold. It won't explain how everything absolutely works inside Windows (only people like Matt Pietrek know that!), but it does show how to write Windows programs in straight C directly to API's. It doesn't use any sort of libraries that end up abstracting the job. I haven't looked at the newest edition, but the old ones used to sort of be a required reference. In any event, see if you can find a copy at a book store and peruse it.


                I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
                -David St. Hubbins

                P 1 Reply Last reply
                0
                • P profoundwhispers

                  I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

                  E Offline
                  E Offline
                  Eric Gunnerson msft
                  wrote on last edited by
                  #8

                  Inside Windows NT is a good overall reference: http://www.amazon.com/exec/obidos/tg/detail/-/1572316772/002-5183796-2704014?v=glance

                  1 Reply Last reply
                  0
                  • P profoundwhispers

                    I need a book/document/article/website that could detail (regardless of the programming language, if required for examples) how the Windows operating system exactly works internally. Is there such a thing? I believe I cannot become a better programmer until I start understanding this: how the OS I'm coding for is actually behaving/responding to this code. Sammy "A good friend, is like a good book: the inside is better than the cover..."

                    N Offline
                    N Offline
                    Norman Fung
                    wrote on last edited by
                    #9

                    Sometimes being a good hack is the ability to just take a piece out and work with it without an understanding of its internal =) norm

                    1 Reply Last reply
                    0
                    • P pseudonym67

                      learn to program windows in c Once you've spent a couple of years writing your own message loops and finding out just how many windows it really takes to do the simpliest things, you'll know how it works. Admittedly given most of todays languages and programming jobs the knowledge will be next to useless but it can have its rewards. pseudonym67 Neural Dot Net Articles 1-11 Start Here Fuzzy Dot Net Articles 1-4 Start Here PathFinder Game Of Life 2 Life Wars

                      B Offline
                      B Offline
                      bnieland
                      wrote on last edited by
                      #10

                      Great comment. Just reading a book on C windows programming will help. Writting even a few simple apps will give you a real good idea what is going on. DTrent

                      1 Reply Last reply
                      0
                      • K Kentamanos

                        You should take a look at the "Programming Windows" books (I think 5th edition is the current one?) by Charles Petzold. It won't explain how everything absolutely works inside Windows (only people like Matt Pietrek know that!), but it does show how to write Windows programs in straight C directly to API's. It doesn't use any sort of libraries that end up abstracting the job. I haven't looked at the newest edition, but the old ones used to sort of be a required reference. In any event, see if you can find a copy at a book store and peruse it.


                        I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
                        -David St. Hubbins

                        P Offline
                        P Offline
                        profoundwhispers
                        wrote on last edited by
                        #11

                        Kentamanos wrote: only people like Matt Pietrek know that! Who's he?! Sammy "A good friend, is like a good book: the inside is better than the cover..."

                        K 1 Reply Last reply
                        0
                        • P profoundwhispers

                          Kentamanos wrote: only people like Matt Pietrek know that! Who's he?! Sammy "A good friend, is like a good book: the inside is better than the cover..."

                          K Offline
                          K Offline
                          Kentamanos
                          wrote on last edited by
                          #12

                          Do a google search, you'll get a few hits :) He basically works for Numega and works on tools like Bounds Checker. He's written lots of articles for MS publications, a few books, and probably knows how Windows works more than 99.5% of MS employees (that's a guess, but it's probably not hyperbole).


                          I, for one, do not think the problem was that the band was down. I think that the problem may have been that there was a Stonehenge monument on the stage that was in danger of being crushed by a dwarf.
                          -David St. Hubbins

                          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