The examples also include working with DirectX and those work fine in Windows XP.
I have the try-out version of Windows 8, and I installed Visual Basic 2010 Express, with the intention to see if I can run the same examples from Windows XP.
Sofar it is not working, simply because I cannot get the older .NET-versions installed which the book uses.
I need the .NET versions 3.0 and 3.5 but Windows 8 simply refuses to install it.
When I try to run the DirectX - examples on .NET 4.0 I get the following error:
A first chance exception of type 'Microsoft.DirectX.DirectDraw.UnsupportedException' occured in Microsoft.DirectX.DirectDraw.dll[/quote]
... which says me you really need the older .NET version as some functions are not supported anymore with .NET 4.0
The error was on the following line:
Fdraw.SetDisplayMode ( WID, HGT, 16. 0, False )[/quote]
Can somebody help me out? Thank you.