Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DirectX or GDI32?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Tue Dec 23, 2008 9:59 am    Post subject: DirectX or GDI32? Reply with quote

Well... VB 6.0 only supports dx7 and dx8 so Im thinking of using GDI instead of DirectDraw(Seriously Outdated...) or D3D8 (Sorta ouradated cause its already at dx10) so opinions?
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Tue Dec 23, 2008 1:59 pm    Post subject: Reply with quote

If you need performance, GDI is not the place to look. If you're clever, you can get some decent speed, and some drivers are nice enough to provide some kind of acceleration, but you will run into trouble as you increase your resolution.

DirectDraw is probably about as fast as you will get for 2d shit, but it kind of lost usefulness to some extent with later DX revisions since you can essentially accomplish the same.



If you're going to learn a new API, why not just learn a modern language instead of that POS?
Back to top
View user's profile Send private message
tombana
Master Cheater
Reputation: 2

Joined: 14 Jun 2007
Posts: 456
Location: The Netherlands

PostPosted: Tue Dec 23, 2008 2:05 pm    Post subject: Reply with quote

There are very nice ways to do 2D with Direct3D. It'll be faster and you will get a lot of extra hardware supported features like alpha blending, which are not in GDI or DirectDraw.

Anyway, like slovach said, you're probably better off with another language than VB, especially when programming with DirectX.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites