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?
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.
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.
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.
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.
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.
HTH,
Sridhar
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.
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.
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?
Thanks,
Wayne Ransier
Never mind, just another new microsoft error for me.
Sorry,
Wayne
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.
-Sridhar
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.
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.
Thanks,
Wayne
Dear Sridhar
I purchased your book and am yet to receive it via email! Please sort this out for me.
Thank you
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
Agha
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.
HTH,
Sridhar
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.
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.
I was able to resolve it.
Thanks for email.