About 11,100 results
Open links in new tab
  1. Why in C++ do we use DWORD rather than unsigned int?

    DWORD is not a C++ type, it's defined in <windows.h>. The reason is that DWORD has a specific range and format Windows functions rely on, so if you require that specific range use that type. (Or as they …

  2. How large is a DWORD with 32- and 64-bit code? - Stack Overflow

    Sep 2, 2008 · In Visual C++ a DWORD is just an unsigned long that is machine, platform, and SDK dependent. However, since DWORD is a double word (that is 2 * 16), is a DWORD still 32-bit on 64 …

  3. Difference between unsigned long and DWORD? - Stack Overflow

    Apr 24, 2021 · Per Windows Data Types, DWORD is just an alias for unsigned long: typedef unsigned long DWORD; So no, there is no difference whatsoever between DWORD and unsigned long, they …

  4. Why are DWORD values commonly represented in Hexadecimal?

    Dec 6, 2012 · Either way, I could use some explanation or some resources on how to remember the difference between DWORD, unsigned integers, bytes, bits, WORD, etc. In summary, my questions …

  5. c# - Should DWORD map to int or uint? - Stack Overflow

    Well according to the MSDN DWORD is an unsigned integer with a range of 0 to 4294967295. So ideally you should replace it with uint rather than int. However, as you have spotted uint is non-CLS …

  6. BYTE, WORD and DWORD macros definition - Stack Overflow

    Dec 7, 2017 · 11 I am trying to understand, what would be the best way to define BYTE, WORD and DWORD macros, which are mentioned in answers of this question.

  7. dword - What is the point of the WORD type in C? - Stack Overflow

    May 31, 2013 · In going through some source code, I found a method in a C program that takes an arguments of the types WORD, DWORD, and PWORD. I know they translate to unsigned numbers, …

  8. How to enable assembly bind failure logging (Fusion) in .NET

    Nov 1, 2008 · HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion Add: DWORD ForceLog set value to 1 DWORD LogFailures set value to 1 DWORD LogResourceBinds set value to 1 DWORD …

  9. What's the difference between (DWORD), *(DWORD*), and (DWORD*)?

    Nov 26, 2013 · DWORD dwPlayerPtr = *(DWORD*)(playerpointer); If we translate to "English", the statement is saying, get me the value of the DWORD variable which is stored in the location …

  10. What is the smallest Windows header I can #include to define DWORD?

    May 24, 2017 · A DWORD is always going to be a 32-bit unsigned int, so it doesn't really matter whether you use DWORD or unsigned long or uint32_t. If all three types refer to a 32-bit unsigned int, the …