dword Questions

4

Solved

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-bit architectures?...
Damp asked 2/9, 2008 at 12:50

3

Solved

How in C can we read and make DWORD variables with a low and high word and low and high byte?
Hedda asked 21/11, 2010 at 11:47

7

Solved

When translating the Windows API (including data types) into P/Invoke, should I replace DWORD with int or uint? It's normally unsigned, but I see people using int everywhere instead (is it just be...
Privet asked 17/7, 2011 at 17:34

2

Solved

In assembly language if we use mov eax, dword ptr[ebx] then it means copy the value pointed by ebx (ebx contains the address value, not the actual value, this instruction copies the actual value...
Hysterectomize asked 27/3, 2009 at 7:14

2

Solved

Im making a program that sees if a subkey in Registry exist and, if it doesnt exist it will create a subkey with a value (dword). This program is being create to replace a .bat file that people (no...
Bifarious asked 4/4, 2017 at 10:22

1

Solved

a * x = b I have a seemingly rather complicated multiplication / imul problem: if I have a and I have b, how can I calculate x if they're all 32-bit dwords (e.g. 0-1 = FFFFFFFF, FFFFFFFF+1 = 0)? ...
Griddlecake asked 11/4, 2016 at 0:45

2

Solved

I've noticed that DWord and QWord values when written to the Registry supposed to be Signed Integers, not Unsigned. This code will throw an exception if value is UInt64 or UInt32: registryKey.SetV...
Yuu asked 9/6, 2015 at 9:13

2

Solved

I try to create an item using Set-ItemProperty in PowerShell, which works on most systems: New-PSDrive -name HKCR -PSProvider Registry -root HKEY_CLASSES_ROOT Set-ItemProperty -Path HKCR:\Softwar...
Asco asked 28/5, 2013 at 8:29

3

Solved

Could someone explain what this means? (Intel Syntax, x86, Windows) and dword ptr [ebp-4], 0
Goring asked 7/6, 2010 at 8:0

2

Solved

summary I need to be able to find the DWORD value of a registry key and set a variable to it to run an if statement against it. how can i grab just the dword of a reg query so that i can work wit...
Bonhomie asked 1/7, 2013 at 19:26

3

Solved

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 are they called WO...
Dismissive asked 31/5, 2013 at 18:9

1

Solved

I've created an installer with WiX and am trying to preserve an existing DWORD registry entry during a repair installation of my product. To store the existing values, I am using the following WiX ...
Unrelenting asked 21/1, 2013 at 18:3

1

Solved

What function have short and large in this code portion? large is same as long dword? mov eax, ebx cmp [ebp+var_1], 0 jz short loc_413123 call sub_40341C pop large dword ptr fs:0 add esp, 0Ch
Lease asked 27/12, 2012 at 21:20

5

Solved

I am trying to understand why a DWORD value is often described in Hexadecimal on MSDN. The reason why I am analyzing this is because I am trying to understand fundamentally why all these different...
Noctilucent asked 13/4, 2011 at 20:34

4

Solved

I have found these few lines of assembly in ollydbg: MOV ECX,DWORD PTR DS:[xxxxxxxx] ; xxxxxxxx is an address MOV EDX,DWORD PTR DS:[ECX] MOV EAX,DWORD PTR DS:[EDX+116] CALL EAX Could someone ste...
Petrinapetrine asked 10/8, 2010 at 20:22

4

Solved

I'm not afraid to admit that I'm somewhat of a C++ newbie, so this might seem like a silly question but.... I see DWORD used all over the place in code examples. When I look up what a DWORD ...
Heterodox asked 8/6, 2010 at 6:42
1

© 2022 - 2024 — McMap. All rights reserved.