GithubHelp home page GithubHelp logo

saracaurel / windows-via-c-cpp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yottaawesome/windows-via-c-cpp

0.0 0.0 0.0 236 KB

Unofficial source code repo for Windows via C/C++ 5th edition.

Home Page: https://www.microsoftpressstore.com/store/windows-via-c-c-plus-plus-9780735639218

License: MIT License

C++ 93.12% C 6.77% Batchfile 0.11%

windows-via-c-cpp's Introduction

Windows via C/C++ 5th edition source code

Introduction

This is an unofficial source code repo for Jeffrey Richter and Christophe Nasarre's Windows via C/C++ 5th edition. The source code is presented here for convenience (so you don't need to dig up the physical media of the book) and remains the copyright of the book authors.

Changes

The source code has been updated to use VS 2019 Community Edition, retargeted to the latest Windows SDK, and to fix a compilation error. The original untouched VS files that came with the book's CD can be found in earlier commits.

Considerations

All samples still function (as of the time of this writing), but some samples may generate deprecation and security warnings upon compilation, and I recommend you heed those warnings if you intend to use any code in production. Remember this is decades old Win32 code -- depending on what you're trying to do, more modern approaches such as C++/WinRT, wxWidgets, Boost, or POCO C++ may be more appropriate.

When using any Win32 code from this repo in production, always consult the Windows API Index for relevant and updated API usage notes. Remember that this book was written pre-Windows 10 (which changed a lot about Windows), so some parts of it may no longer reflect Windows' actual internal functionality.

Considerations for specific samples

  • JobLab: On Windows 8 and above, the sample terminates early due to the initial IsProcessInJob() check detecting the process is in a job. This check can be disabled on Windows 8 and above, as the rules around processes and jobs were changed starting in Windows 8. See my comment and this issue for further information.

Additional resources

windows-via-c-cpp's People

Contributors

yottaawesome avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.