Archived

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

Zoney

mysterious DWORD

Recommended Posts

A commonly used variable type in directx structures is the dword, and in the directx header it is declared like this: DWORD dwVariableName; which is nice, only when I use this myself, sometimes it works fine but other times my compiler claims that the type DWORD doesn''t exist at all... where is the DWORD type declared? it''s the same with the BOOL, but I''ve discovered that you can use bool in lower-case instead...

Share this post


Link to post
Share on other sites
A DWORD should just be typedef-ed as an unsigned long (32-bit integer). I''m guessing this is how it''s defined in Windows.h or wherever.

Share this post


Link to post
Share on other sites