Rating: Summary: HOW TO FIX PROBLEMS WITH CODE! Very Important! Review: Actually there are no problems with the code. Just problems in setting up the workspaces. 1. If you get errors that you are missing files, they are most likely the common files. They probably werent copied to your harddrive when you installed DX8sdk. You can find them at F:\DirectX\DXF\samples\multimedia\common copy both folders to C:\mssdk\samples\Multimedia\common (if you installed to default directory) 2. When you finally get the program to compile you may get another error during linking, i think, that says it cant access the Debug/basic2.exe Just delete all the files in the Debug folder and try again. 3. Once you get the program to run you will most likely get a runtime error. Error 0xc0000005 is what i got. To fix this you simply need to put in a Lake.bmp file into the folder where your basic.cpp file is. Im not sure if the author mentions this in the book since i havnt bothered reading it yet. But if he does o well, Its my belief that the projects should be in complete and working order before he ships his product.Its a good book though, from what i have read. Took me all afternoon to figure out these problems, hopefully it wont take you that long.
|