Thread: win32 api help file request

  1. #1
    Banned
    Join Date
    Nov 2007
    Posts
    678
    <split from http://cboard.cprogramming.com/showthread.php?t=79619. The original thread is for members to provide information, not request it ~ ken fitlike>

    Where can I get the Win32 API .chm file?

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Don't know about chm filess, but MSDN contains the whole Win32 API and more. It's probably what you seek.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    932
    I started to read "Programming Windows by Charles Petzold" book recommended by
    everyone.
    My concern is that it looks old. It uses MSVC 6.
    Now we are at MSVC++ 2008. The examples of all this tutorials mentioned above in this thread doesnt even compile on it.
    You got the feeling that every time Microsoft release a new compiler, you have to relearn
    the language. There are so many Win32 languages as compilers.
    Thats very frustrating. You dont even know where to begin, what compiler to use.
    Using Windows 10 with Code Blocks and MingW.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Not really...
    Every compiler get more standards compliant with every release.
    Microsoft has done a tremendous work to make it standards compliant with the release of 2003, then 2005. The book is just old, and it's expected to not work so well.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    Petzold is one of a kind among programming books. Not only that examples in the book are
    very succinct and always to the point, but virtually all of them "just work."

    You really can not find a better book. I did most of the examples in CodeWarrior, not even VC6,
    and I remember that I only had to fiddle with project settings on a few occasions - rarely did I
    need to change source code.

    And to stay to the topic, here's a few Win32 programming links:

    1. Books - http://www.igor-delovski.iz.hr/forum/viewtopic.php?t=33
    2. Tutorials - http://www.igor-delovski.iz.hr/forum/viewtopic.php?t=44

  6. #6
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    The Win32 chm file is available in the Windows SDK. The name has been changed from Platform SDK to Windows SDK.

    In the setup portion of the SDK make sure you check to install all the documentation. The setup for the Windows SDK is actually a bit confusing since it has all the Vista stuff thrown in. You will want to install the x86 compiler stuff as this seems to also install the default MSVS documentation. The entire setup experience since the change is horrible. It needs a major rework.

  7. #7
    Registered User
    Join Date
    Dec 2007
    Posts
    932
    Thanks for the input Idelovski.

    You're right, this book is so good and thorough that it worth it to install VC6 beside VC++ 2008.

    And thats what im gonna do.
    Using Windows 10 with Code Blocks and MingW.

  8. #8
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    You're right, this book is so good and thorough that it worth it to install VC6 beside VC++ 2008.
    You probably should just try using MSVC++ 2008 first and see how it goes - the Windows API should be the same.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  9. #9
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    I think you should probably try to make it work with 2008 instead. If there's something in the book that you simply don't understand how to do in 2008, then maybe you should ask. Perhaps someone can help.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  10. #10
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    You're right, this book is so good and thorough that it worth it to install VC6 beside VC++ 2008
    This would be a waste of time. MSVC 6 is very old and does not conform to standards. It is a compiler I would stay very far away from with current code and current APIs. Just use 2008 and port the samples in the book to 2008. That should not prove to be too difficult.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opening empty file causes access violation
    By trevordunstan in forum C Programming
    Replies: 10
    Last Post: 10-21-2008, 11:19 PM
  2. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  3. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  4. Possible circular definition with singleton objects
    By techrolla in forum C++ Programming
    Replies: 3
    Last Post: 12-26-2004, 10:46 AM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM