A total newbie question... regarding DX

Started by
10 comments, last by JonatanHedborg 23 years, 5 months ago
MrGameMaker has some fair tutes on the basics of directX and windows. also, the MSDN is invaluable.

check the FAQ of this board for other links

on another note, I''ve managed to get directX working with LCC-win32.
So it can be done for free, and, more to the point, it can be done in C.

in the MSDN there is a small article ''Accessing COM objects by using C''

so, where in c++, you use :

ret = lpDD->CreateSurface(&ddsd, &lpDDS, NULL)

in C you''d use:

ret = lpDD->lpVtbl->CreateSurface (lpDD, &ddsd, &lpDDS, NULL);

Just thought i''d mention this as someone said you need to know some COM to program directX

Wyzfen
Advertisement
Thanks for all the replies!

Ironblayde''s tutorials were quite usefull!

Heh, I have figured out that the thing i hate most about windows is Hungarian notation... It makes simple things _look_ advanced...

=======================
Game project(s):
www.fiend.cjb.net
=======================Game project(s):www.fiend.cjb.net

This topic is closed to new replies.

Advertisement