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. Information about Win32 only.

Information about Win32 only.

Scheduled Pinned Locked Moved The Lounge
csharpc++visual-studiojsonquestion
30 Posts 18 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 NullStream

    Where can I find some decent info about the Win32 API that isn't related to the Petzold book? I don't want to touch MFC and would rather just stick to straight C. I've searched online and every site about Windows programming seems to be dedicated to MFC. For instance maybe an article about the 'standard' or 'proper' way to setup dialog control options, or filling the window with a particular control. The Petzold book just doesn't do it for me and the only other sources of information just spend half their article/book trying to teach me C (when the K&R book did that adequately already). I'm used to the nice and well documented POSIX guideline API's and have found the included documentation in Visual Studio 6 to be terrible in comparisson. Regardless any info or direction in this regard would be appricated. Sean

    J Offline
    J Offline
    Jon Sagara
    wrote on last edited by
    #6

    Petzold's Programming Windows focuses exclusively on the Win32 API and it sticks to straight C. There is no MFC to be found in that book. What other sort of information were you looking for? Jon Sagara What about :bob:?

    1 Reply Last reply
    0
    • N NullStream

      Where can I find some decent info about the Win32 API that isn't related to the Petzold book? I don't want to touch MFC and would rather just stick to straight C. I've searched online and every site about Windows programming seems to be dedicated to MFC. For instance maybe an article about the 'standard' or 'proper' way to setup dialog control options, or filling the window with a particular control. The Petzold book just doesn't do it for me and the only other sources of information just spend half their article/book trying to teach me C (when the K&R book did that adequately already). I'm used to the nice and well documented POSIX guideline API's and have found the included documentation in Visual Studio 6 to be terrible in comparisson. Regardless any info or direction in this regard would be appricated. Sean

      N Offline
      N Offline
      Neville Franks
      wrote on last edited by
      #7

      If you are looking at doing anything of a reasonable size I would strongly urge you to move to C++ and MFC. I spent 8+ years writing in C using the Windows API, and the best thing I ever did was move to C++. On top of that MFC plus the huge support you get from sites like this make life so, so much easier. If you've been coding in C for a long time C++ can be a bit of a bugger to come to grips with, but it pays off big time. I can't understand why apps are developed in C any more, unless for whatever reason you have no option. Just my 2C worth, no make that 3cents. Neville Franks, Author of ED for Windows. www.getsoft.com

      C 1 Reply Last reply
      0
      • N Neville Franks

        If you are looking at doing anything of a reasonable size I would strongly urge you to move to C++ and MFC. I spent 8+ years writing in C using the Windows API, and the best thing I ever did was move to C++. On top of that MFC plus the huge support you get from sites like this make life so, so much easier. If you've been coding in C for a long time C++ can be a bit of a bugger to come to grips with, but it pays off big time. I can't understand why apps are developed in C any more, unless for whatever reason you have no option. Just my 2C worth, no make that 3cents. Neville Franks, Author of ED for Windows. www.getsoft.com

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #8

        Our new app is written using C++, but Petzhold style. I would concur that it is a LOT more work, we did it because I implimented a new class library, for cross platform purposes and I was concerned about yet another layer for everything to go through. Our app is OpenGL so the windows part is secondary most of the time. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

        Sonork ID 100.10002:MeanManOz

        I live in Bob's HungOut now

        R 1 Reply Last reply
        0
        • N NullStream

          Where can I find some decent info about the Win32 API that isn't related to the Petzold book? I don't want to touch MFC and would rather just stick to straight C. I've searched online and every site about Windows programming seems to be dedicated to MFC. For instance maybe an article about the 'standard' or 'proper' way to setup dialog control options, or filling the window with a particular control. The Petzold book just doesn't do it for me and the only other sources of information just spend half their article/book trying to teach me C (when the K&R book did that adequately already). I'm used to the nice and well documented POSIX guideline API's and have found the included documentation in Visual Studio 6 to be terrible in comparisson. Regardless any info or direction in this regard would be appricated. Sean

          A Offline
          A Offline
          alex barylski
          wrote on last edited by
          #9

          I would have to to agree with the last fellow Neville Franks(spelling) Straight C programming is tedious and redundant, sure you can copy/paste and change a few things, but MFC is so much easier on the eyes. However I personally have found you MUST understand SDK API before you can understand MFC, so perhaps the following books will helps. Windows 98 programming "From the gorund up" Osborne(McGraw Hill) Herbert Schildt Breaks everything down into digestable reading. Real good, but assumes Knowledge in c. Windows 95 WIN32 programming API bible. Book 1 The Waite Group Richard Simon. Awesome reference on API's common to win 95, NT. With great explanation and easy to follow examples. I would suggest reconsidering your approach though. You may find you invest in such books only to find, that once you have it figured out...all you really need is online reference. Which VC++ 6 Docs do nicely Ciao :) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

          A G 2 Replies Last reply
          0
          • A alex barylski

            I would have to to agree with the last fellow Neville Franks(spelling) Straight C programming is tedious and redundant, sure you can copy/paste and change a few things, but MFC is so much easier on the eyes. However I personally have found you MUST understand SDK API before you can understand MFC, so perhaps the following books will helps. Windows 98 programming "From the gorund up" Osborne(McGraw Hill) Herbert Schildt Breaks everything down into digestable reading. Real good, but assumes Knowledge in c. Windows 95 WIN32 programming API bible. Book 1 The Waite Group Richard Simon. Awesome reference on API's common to win 95, NT. With great explanation and easy to follow examples. I would suggest reconsidering your approach though. You may find you invest in such books only to find, that once you have it figured out...all you really need is online reference. Which VC++ 6 Docs do nicely Ciao :) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

            A Offline
            A Offline
            alex barylski
            wrote on last edited by
            #10

            I was wondering why my text would underline...just occured to me that this text is HTML and my *smiles* with angle brackets are actually strikethrough commands...

            Weeeeee look ma! no hands...Weeeeee

            Stupid IE proprietary tags Have a day, to me!:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

            C A 2 Replies Last reply
            0
            • A alex barylski

              I was wondering why my text would underline...just occured to me that this text is HTML and my *smiles* with angle brackets are actually strikethrough commands...

              Weeeeee look ma! no hands...Weeeeee

              Stupid IE proprietary tags Have a day, to me!:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

              C Offline
              C Offline
              ColinDavies
              wrote on last edited by
              #11

              HockeyDude wrote: just occured to me that this text is HTML and my *smiles* with angle brackets are actually strikethrough commands... LOL Its the small thingys in life that cause all the confusion isn't it. :-) Regardz Colin J Davies

              Sonork ID 100.9197:Colin

              I live in Bob's HungOut now

              COBOL programmers understand why women hate periods

              1 Reply Last reply
              0
              • A alex barylski

                I was wondering why my text would underline...just occured to me that this text is HTML and my *smiles* with angle brackets are actually strikethrough commands...

                Weeeeee look ma! no hands...Weeeeee

                Stupid IE proprietary tags Have a day, to me!:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

                A Offline
                A Offline
                Alvaro Mendez
                wrote on last edited by
                #12

                HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr I take it Mr. Bohr was no expert when it came to spelling... or was it a certain hockey-loving dude that was no expert at quoting... ;P Regards, Alvaro

                A N 2 Replies Last reply
                0
                • A Alvaro Mendez

                  HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr I take it Mr. Bohr was no expert when it came to spelling... or was it a certain hockey-loving dude that was no expert at quoting... ;P Regards, Alvaro

                  A Offline
                  A Offline
                  alex barylski
                  wrote on last edited by
                  #13

                  Didn't even notice...I'm embarrassed I can program a spell checker, but can't figure out how to use one.:laugh: Thanx for informing me I hate spelling, i'm a keyword kinda guy! "An expert is someone who has made all the mistakes in their field" - Niels Bohr

                  J 1 Reply Last reply
                  0
                  • C Christian Graus

                    Our new app is written using C++, but Petzhold style. I would concur that it is a LOT more work, we did it because I implimented a new class library, for cross platform purposes and I was concerned about yet another layer for everything to go through. Our app is OpenGL so the windows part is secondary most of the time. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                    Sonork ID 100.10002:MeanManOz

                    I live in Bob's HungOut now

                    R Offline
                    R Offline
                    Rick York
                    wrote on last edited by
                    #14

                    Christian, what kind of stuff is you app doing with OpenGL ? I have been working on one for a while that is used for data visualization. _______________ My jokes page

                    C 1 Reply Last reply
                    0
                    • R Rick York

                      Christian, what kind of stuff is you app doing with OpenGL ? I have been working on one for a while that is used for data visualization. _______________ My jokes page

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #15

                      It's a house visualisation program, you can see the DirectX version at www.viewbuild.com. This version uses OpenGL so that we can port it. My job has been writing the portable GUI libray in Python and the Windows specific part in Win32. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                      Sonork ID 100.10002:MeanManOz

                      I live in Bob's HungOut now

                      R 1 Reply Last reply
                      0
                      • A alex barylski

                        I would have to to agree with the last fellow Neville Franks(spelling) Straight C programming is tedious and redundant, sure you can copy/paste and change a few things, but MFC is so much easier on the eyes. However I personally have found you MUST understand SDK API before you can understand MFC, so perhaps the following books will helps. Windows 98 programming "From the gorund up" Osborne(McGraw Hill) Herbert Schildt Breaks everything down into digestable reading. Real good, but assumes Knowledge in c. Windows 95 WIN32 programming API bible. Book 1 The Waite Group Richard Simon. Awesome reference on API's common to win 95, NT. With great explanation and easy to follow examples. I would suggest reconsidering your approach though. You may find you invest in such books only to find, that once you have it figured out...all you really need is online reference. Which VC++ 6 Docs do nicely Ciao :) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

                        G Offline
                        G Offline
                        Giles
                        wrote on last edited by
                        #16

                        HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr Are you a Physics guy as well? You would be suprised how many their are of us on CP, though I've been out of it that past few years trying to make some money. :) Giles

                        A N 2 Replies Last reply
                        0
                        • G Giles

                          HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr Are you a Physics guy as well? You would be suprised how many their are of us on CP, though I've been out of it that past few years trying to make some money. :) Giles

                          A Offline
                          A Offline
                          alex barylski
                          wrote on last edited by
                          #17

                          No physics guy here. Just a curious mind is all:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

                          1 Reply Last reply
                          0
                          • A alex barylski

                            Didn't even notice...I'm embarrassed I can program a spell checker, but can't figure out how to use one.:laugh: Thanx for informing me I hate spelling, i'm a keyword kinda guy! "An expert is someone who has made all the mistakes in their field" - Niels Bohr

                            J Offline
                            J Offline
                            Jason Hooper
                            wrote on last edited by
                            #18

                            HockeyDude wrote: "An expert is someone who has made all the mistakes in their field" - Niels Bohr So now this Niels Bohr guy has his spelling right but his grammar wrong. Is it the Niels Bohr guy who said it wrong, or his quoter who quoted it wrong? Or were they just both using normal spell checkers (notorious for letting the crappiest of grammar fall through if the spelling is at least right)? :laugh: Update: Wait, wasn't Bohr German?? That would introduce a third possibility: a bad TranslatorDude! - Jason SonorkID: 100.12194 :bob:'s your uncle

                            J A 2 Replies Last reply
                            0
                            • J Jason Hooper

                              HockeyDude wrote: "An expert is someone who has made all the mistakes in their field" - Niels Bohr So now this Niels Bohr guy has his spelling right but his grammar wrong. Is it the Niels Bohr guy who said it wrong, or his quoter who quoted it wrong? Or were they just both using normal spell checkers (notorious for letting the crappiest of grammar fall through if the spelling is at least right)? :laugh: Update: Wait, wasn't Bohr German?? That would introduce a third possibility: a bad TranslatorDude! - Jason SonorkID: 100.12194 :bob:'s your uncle

                              J Offline
                              J Offline
                              James T Johnson
                              wrote on last edited by
                              #19

                              Jason Hooper wrote: Or were they just both using normal spell checkers (notorious for letting the crappiest of grammar fall through if the spelling is at least right)? They aren't called spell checkers for nothing! If you want to check grammar you need a grammar checker :P James Sonork ID: 100.11138 - Hasaki "Not be to confused with 'The VD Project'. Which would be a very bad pr0n flick. :-D" - Michael P Butler Jan. 18, 2002

                              N 1 Reply Last reply
                              0
                              • J Jason Hooper

                                HockeyDude wrote: "An expert is someone who has made all the mistakes in their field" - Niels Bohr So now this Niels Bohr guy has his spelling right but his grammar wrong. Is it the Niels Bohr guy who said it wrong, or his quoter who quoted it wrong? Or were they just both using normal spell checkers (notorious for letting the crappiest of grammar fall through if the spelling is at least right)? :laugh: Update: Wait, wasn't Bohr German?? That would introduce a third possibility: a bad TranslatorDude! - Jason SonorkID: 100.12194 :bob:'s your uncle

                                A Offline
                                A Offline
                                alex barylski
                                wrote on last edited by
                                #20

                                Bohr was the genius that re-modeled the atom not the kid from Winnipeg Canada. Grammer Shmammer...i swear i took that quote right out of a book, maybe i'd better double check...:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

                                N 1 Reply Last reply
                                0
                                • N NullStream

                                  Where can I find some decent info about the Win32 API that isn't related to the Petzold book? I don't want to touch MFC and would rather just stick to straight C. I've searched online and every site about Windows programming seems to be dedicated to MFC. For instance maybe an article about the 'standard' or 'proper' way to setup dialog control options, or filling the window with a particular control. The Petzold book just doesn't do it for me and the only other sources of information just spend half their article/book trying to teach me C (when the K&R book did that adequately already). I'm used to the nice and well documented POSIX guideline API's and have found the included documentation in Visual Studio 6 to be terrible in comparisson. Regardless any info or direction in this regard would be appricated. Sean

                                  R Offline
                                  R Offline
                                  Roger Wright
                                  wrote on last edited by
                                  #21

                                  I've got a copy of "Windows NT/2000 Native API Reference" by Gary Nebbett, ISBN 1-57870-199-6. It's quite thorough, and very concise; it really is more of a reference than a text. My copy is a first printing, purchased while Win2K was still in RC status, so later editions are likely to contain more accurate info.

                                  1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    It's a house visualisation program, you can see the DirectX version at www.viewbuild.com. This version uses OpenGL so that we can port it. My job has been writing the portable GUI libray in Python and the Windows specific part in Win32. Christian I have come to clean zee pooollll. - Michael Martin Dec 30, 2001 Picture the daffodil. And while you do that, I'll be over here going through your stuff. Picture a world without war, without hate. And I can picture us attacking that world, because they would never expect it.

                                    Sonork ID 100.10002:MeanManOz

                                    I live in Bob's HungOut now

                                    R Offline
                                    R Offline
                                    Rick York
                                    wrote on last edited by
                                    #22

                                    Very nice ! There is an older screen shot of my program here.

                                    C 1 Reply Last reply
                                    0
                                    • N NullStream

                                      Where can I find some decent info about the Win32 API that isn't related to the Petzold book? I don't want to touch MFC and would rather just stick to straight C. I've searched online and every site about Windows programming seems to be dedicated to MFC. For instance maybe an article about the 'standard' or 'proper' way to setup dialog control options, or filling the window with a particular control. The Petzold book just doesn't do it for me and the only other sources of information just spend half their article/book trying to teach me C (when the K&R book did that adequately already). I'm used to the nice and well documented POSIX guideline API's and have found the included documentation in Visual Studio 6 to be terrible in comparisson. Regardless any info or direction in this regard would be appricated. Sean

                                      M Offline
                                      M Offline
                                      Michael Mac
                                      wrote on last edited by
                                      #23

                                      Try to find something in Platform SDK. It's only about Win API. You can download it from www.microsoft.com. But there is one little problem - it's huge, about 250 MB Good luck :cool:

                                      1 Reply Last reply
                                      0
                                      • A Alvaro Mendez

                                        HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr I take it Mr. Bohr was no expert when it came to spelling... or was it a certain hockey-loving dude that was no expert at quoting... ;P Regards, Alvaro

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

                                        LOL Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                        1 Reply Last reply
                                        0
                                        • A alex barylski

                                          Bohr was the genius that re-modeled the atom not the kid from Winnipeg Canada. Grammer Shmammer...i swear i took that quote right out of a book, maybe i'd better double check...:) "An expert is someone who has made all the mistakes in thier field" - Niels Bohr

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

                                          HockeyDude wrote: "An expert is someone who has made all the mistakes in thier field" - Niels Bohr This should be :- An expert is someone who has made all the mistakes in his or her field Nish Sonork ID 100.9786 voidmain www.busterboy.org If you don't find me on CP, I'll be at Bob's HungOut

                                          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