Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Blank Window

Author
Message
X23Y19Z31
11
Years of Service
User Offline
Joined: 8th May 2012
Location:
Posted: 9th May 2012 07:31
I've installed DirectX 9.0 August 2007,
I have Visual Studio 2008 Professional,
and I've linked the libraries.
The problem is when I run the first program called
circles.cpp all I get is a pop-up window with a blank screen.
My video card is burned out but VGA is working...
btw I am using "Gamea & Graphics in C++" by Tony Gaddis.
How do I fix the problem?
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 9th May 2012 09:57
So long as you have installed everything in the correct order:

. Install Visual Studio 2008 Express and run once to initialise directories.
. Install DirectX 9 Aug 2007
. Install Dark GDK

The run once is very important as this allow the other SDK's to find and link to the correct directories.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
X23Y19Z31
11
Years of Service
User Offline
Joined: 8th May 2012
Location:
Posted: 9th May 2012 17:30
I tried some other programs in the book and some work and some don't...
WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 9th May 2012 23:07 Edited at: 9th May 2012 23:09
The book should at least have references, but I did find this website - http://wps.aw.com/aw_gaddis_games_1/114/29318/7505573.cw/index.html
Which seems to hold all the media and source files included that go with the book.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
X23Y19Z31
11
Years of Service
User Offline
Joined: 8th May 2012
Location:
Posted: 10th May 2012 00:20
I downloaded the code and it doesn't help with certain programs.
for example I cannot load a bitmap picture it makes a blank screen.

Login to post a reply

Server time is: 2024-04-25 10:16:39
Your offset time is: 2024-04-25 10:16:39