About 10,700 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. …

  2. 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 …

  3. 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 …

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

    A DWORD is, by (Microsoft's) definition, an unsigned 32-bit integer. It should map to whichever type your compiler uses to represent that. These days it's most likely an unsigned int, but …

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

    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, but why …

  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. 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 …

  8. What is the smallest Windows header I can #include to define …

    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 …

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

    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 …

  10. windows - DWORD_PTR, INT_PTR, LONG_PTR, UINT_PTR, …

    Aug 13, 2009 · I found that Windows has some new Windows Data Types DWORD_PTR, INT_PTR, LONG_PTR, UINT_PTR, ULONG_PTR can you tell me when, how and why to use …