Archived

This topic is now archived and is closed to further replies.

DirectX tutorial 1 problem (lotta Qs)

This topic is 5597 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites