Samples for “Modern C++ and Windows Store apps” can be downloaded here.

Sample XAML AppBar template can be downloaded here. This sample is missing from the book samples.

11 thoughts on “downloads

  1. wayne ransier

    I just bought your book, Modern C++ and Windows Store Apps, when I unzipped the samples in the zip file 978…… I received an error. The file names are too long for the destination folder? Surely I’m not the only one who noticed this?

    Wayne Ransier

    1. sridharpoduri Post author

      Glad it works now. Thank you for purchasing a copy. Please send your feedback/comments to the email address mentioned in the book. I look forward to reading your comments.


  2. Sam Stokes

    Hi Wayne,
    The error you got might be similar to the one I got. It isn’t really an error, it part of the security process. To fix:
    1. Right click on the zip file and select properties
    2. Click on the “Unblock” button, this button will disappear forever so if you want to use a screen shot take it now. 🙂
    3. Click Ok in the properties dialog box.

    Not done yet!
    1. You will need to create a folder on the root of your drive, why? Simple, some of the path names exceed the upper limit of characters.
    2. Move or copy the zip file to the C://CPPBOOK folder (if your root drive is C: and the folder name is CPPBOOK).
    3. Now unzip the file and hopefully you will not get the error.

  3. wayne ransier

    Sridhar, You nailed it, the Visual Studio default for downloads was pretty deep into several directories. Just getting into your book, but it’s been a great help as we’d like to stick with C++ for a Surface app.


  4. Sam

    Dear Sridhar
    I purchased your book and am yet to receive it via email! Please sort this out for me.
    Thank you

  5. Agha

    First of all I enjoyed the book.
    Basically I am looking for a sample where I could bring a texture and place 6 images on a cube on Window 8. Perhaps you have some idea!
    I saw you texture example but it doesn’t talk on 3D surface.

    best regards

    1. sridharpoduri Post author

      Hello Agha,

      Thanks for the kind words and apologies for the late reply. Did you take a look at the Direct3D starter sample in the Windows SDK? It should point you in the right direction.

    2. Agha

      Now we are working on Window 10 and for some reason you didn’t update for window 10.
      For some reason Window 10 didn’t include RadialGradient or RadialGradientBrush. I have no choice but to import from DirectX as a Runtime component. I don’t recall any sample where I could DirectX component in my sample. When I include #include “D2d1.h” my application didn’t complain about interface of ID2D1RadialGradientBrush. 🙂 Now if we want to include DirectX functionality we (As I think) we have to add D2d1.lib. How can I add to my Window project? I need your guidance.

      1. sridharpoduri Post author

        Sorry for the late response. You can add the library reference via Project Settings->Linker->Input->Additional Dependencies.
        I am not actively following Windows app development anymore. Hence the non-update.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.