Sign in to follow this  
sweetu

Need Help

Recommended Posts

i just started to read a book which is on game development using directX but i couldnt got the idea of COM and Interface and calling of COM object and Interface.wht is the standard direction to use DirectX in game and how.i i i totaly confuse.plz solve me out. u r free to mail me on tejas@tatvasoft.com

Share this post


Link to post
Share on other sites
Well... i can just give you a basic walktrough on com (if im making a mistake people, please correct it for me :) )

COM (Component Object Moddeling) is a nice technology. its one of the easiest ways to update a program. Under direct x, com works like this: Directx is updated to work better, get bugs out excetra. Problem is that directx is 500mb+ and noone wants to download 500mb to get the new c version. thats what com is used for. instead of sending the whole program again, it sents the part that is edited. which makes it a lot smaller download

now about the interfaces. well, sometimes you dont WANT to work with the new stuff (especially since directdraw and direct3d are merged under directx graphics). thats what interfaces are used for. when you call an interface, you actually specify what version you want. simple said: if you dont want to work with version 8, you can work with version 7 of directx. the inferface can be called the version of the program you want to use.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this