Need help

The Partridge Family were neither partridges nor a family. Discuss.
Ottur
Posts: 9
Joined: July 2nd, 2012, 12:11 am

Re: Need help

Post by Ottur » July 6th, 2012, 5:47 pm

documents and settings\mike\my...\d3dgraphics.cpp
line: 42

User avatar
Asimov
Posts: 814
Joined: May 19th, 2012, 11:38 pm

Re: Need help

Post by Asimov » July 6th, 2012, 6:51 pm

Hi Ottur,

Mostly when you compile and you are in debug mode, and you get this error, it will be because you sending pixels outside the bounds of the screen. There are some assertion lines in the putpixel function which do this. You will probably find you woudn't get the error if you were in release mode. Although that doesn't mean you shouldn't put it right.

Asimov
----> Asimov
"You know no matter how much I think I have learnt. I always end up hitting brick walls"
http://www.asimoventerprises.co.uk

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Need help

Post by chili » July 7th, 2012, 4:25 am

No, this assertion is for the Direct3D initialization.

Are you using the same computer every time you run it? Have you been able to run it properly at least once yet?
Chili

Ottur
Posts: 9
Joined: July 2nd, 2012, 12:11 am

Re: Need help

Post by Ottur » July 7th, 2012, 1:16 pm

Yeah I've been using the same computer and no I haven't been able to get that black screen once yet :(

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Need help

Post by chili » July 7th, 2012, 1:20 pm

You need the ghilllie build of the framework.

You can find it in this thread:

http://www.planetchili.net/forum/viewto ... f=3&t=1013
Chili

Ottur
Posts: 9
Joined: July 2nd, 2012, 12:11 am

Re: Need help

Post by Ottur » July 7th, 2012, 3:27 pm

Its giving me the same error message
Image

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Need help

Post by chili » July 7th, 2012, 3:34 pm

There are two zipped solutions in that thread. Which one did you download?
Chili

Ottur
Posts: 9
Joined: July 2nd, 2012, 12:11 am

Re: Need help

Post by Ottur » July 7th, 2012, 3:42 pm

This one

Try this one out on the XP machine and tell me the result. This one might run for you.

Attachment:
Chili DirectX Framework(ghilllie build).zip [46.46 KiB]
Downloaded 43 times


p.s.: Yup, I will eventually be covering 3D.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Need help

Post by chili » July 7th, 2012, 3:54 pm

Damn, I dunno what to say bro. If that doesn't work then it won't be easy. You might have better luck elsewhere (other tutorial series).

That said, if you are dead set on trying to make this work, there are a few things that we could try.
Chili

Ottur
Posts: 9
Joined: July 2nd, 2012, 12:11 am

Re: Need help

Post by Ottur » July 7th, 2012, 3:59 pm

Yeah I really don't know why the programs screwed up thanks for trying chili.

Post Reply