Thread: Newb Question: Petzolds "Programming Windows 5th edition" advice

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    16

    Question Newb Question: Petzolds "Programming Windows 5th edition" advice

    I recently obtained a copy of Petzolds "Programming Windows 5th edition" (wooohooo finally). He is teaching assuming VC++6.0 and Win98. I am running .NET on a XP machine. Since I don't know that much (yet) about Windows Programming I wanted to make sure that no unforseen problems will crop up due to using .NET over VC++6.0 and runnign XP over Win98. If anyone reading this thread has read the book above please respond and ease my mind

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    I have his book, I use Dev-C++ and the only problem I've run into is with the resource files. Since I don't know anything about .NET I can't say for sure if you'll have a problem or not but I'd imagine you'd be ok. And I run XP.

  3. #3
    Registered User Dohojar's Avatar
    Join Date
    Feb 2002
    Posts
    115
    A simple .NET app will add a lot of extra code that the book doesn't show. I was using .NET but I found it easier to just use Visual C++ 6 because I could just make empty applications without all the extra .NET stuff. I was running XP too and all the programs worked fine. I am sure you use the .NET compilerfor that book but I was just to lazy to figure out how to make an empty application.
    Dohojar Moajbuj
    Time is the greatest teacher, too bad it kills all its students

  4. #4
    jasondoucette.com JasonD's Avatar
    Join Date
    Mar 2003
    Posts
    278
    I have gone through the majorty of the book using VC++ 6.0 and WinXP. I cannot comment on the .NET situation (you can't start an empty application in .NET? Are you serious?), but I can comment on WinXP. I have noticed only a few things that WinXP has some minor problems with, all of them are documented here. Most of the code works fine.

  5. #5
    Registered User
    Join Date
    Nov 2001
    Posts
    16
    Thanks for the info guys. Very helpful as usual

  6. #6
    Registered User Dohojar's Avatar
    Join Date
    Feb 2002
    Posts
    115
    (you can't start an empty application in .NET? Are you serious?),
    There may be a way but like I said, I was too lazy to find it. I was also trying to load an application I was already working on using visual C++ and got a bunch of error so I went back to using visual C++ to finish the project.
    Dohojar Moajbuj
    Time is the greatest teacher, too bad it kills all its students

  7. #7
    To create an empty Windows project in .NET: File->New->Project. In the New Project dialog, chosse Visual C++ Projects->Win32 Project, give it a name and hit enter. In the next dialog click Application Settings and under Additional Options, choose Empty Project.

  8. #8
    Registered User Dohojar's Avatar
    Join Date
    Feb 2002
    Posts
    115
    Ahh thats where they hid it. Thanks that will help me lots too.
    Dohojar Moajbuj
    Time is the greatest teacher, too bad it kills all its students

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 08-16-2006, 02:05 PM
  2. Windows upgrade question
    By 7smurfs in forum Tech Board
    Replies: 11
    Last Post: 10-20-2004, 01:51 PM
  3. Windows Rant followed by installation question
    By confuted in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 06-21-2003, 04:42 PM
  4. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  5. Another windows service question... starting/stopping
    By BrianK in forum Windows Programming
    Replies: 1
    Last Post: 03-20-2003, 12:22 AM