DirectX tutorial 1 problem (lotta Qs)

Started by
2 comments, last by SithLordAJ 21 years, 8 months ago
theres these tutorials in the directX C++ SDK... im trying to do the first one where you build a FRIKIN WINDOW. well, it doesnt tell you what includes you need. the only fuction is INT WINAPI WinMain(blahblah). so, does anybody know what i should include? also, even though it specifically shows int in caps twice, should it be small? out of curiousity, could i make a window with MFC and use that handle? would that be the same? and i caught a missprint in the tutorial too. isnt that great? they define a var named hInst as a parameter, but use hInstance in the code.
Advertisement
You could have a look at the sources that are at least part of the DX8.1 SDK.
but that has a whole bunch of includes. how would i know which is the right one? i need to know. i dont want to just always include a whole bunch of includes hoping that one of them is the right one.
and sorry, now that i look at my post it looks bad. i didnt mean to appear so angry. i was trying for sarcastic.
i failed.
windows.h for most Windows structs/macros/functions/etc


The hackers must have gotten into the system through the hyperlink!!

Invader''s Realm

This topic is closed to new replies.

Advertisement