Windows 7 Forums


Reply
Thread Tools

Dword or Qword?

 
 
brock samson brock samson is offline
New Member
brock samson's Avatar
Join Date: Sep 2011
Posts: 5
Thanked: 0
 
      09-09-2011
When performing registry tweaks of an OS the author of tweak does not always specify 32bit or 64bit....(does it even matter?) Or if they do specify to create a new Dword (32bit) value but maybe you are running a 64bit system - Do you still follow the 32bit instructions, or do you need to modify the instructions and create a new Qword (64bit) with the same data in the decimal value instead?

Of course you should always back up your registry before making changes, but I am just trying to understand what is proper and still safe to achieve the desired results of the tweak - no matter what system you have.
 
Reply With Quote
 
 
 
 
clifford_cooley clifford_cooley is online now
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,509
Thanked: 930
 
      09-09-2011
DWORD and QWORD is tied to the application that is using the value not the OS.

I would only be guessing when I say:
DWORD should work for all values unless using a value larger than what a DWORD can store. If you need to store a value larger than a what DWORD can store, the use of QWORD would then be required.
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-09-2011
Quote:
Originally Posted by brock samson View Post
I understand the math behind 32/64 bit processors and the powers 2^32, when you do the math that is why 32bit windows can only use up to 4GB of Ram and why 64 bit can use so much more...but this info does not address my question....maybe I am not making myself clear or am asking the wrong question.
The OS (Any 32bit OS) can only address 2^32 bits (4,294,967,295) of memory-mapped I/O (MMIO, henceforth). Damn near anything on your computer has an MMIO address; the BIOS, the buses, your VRAM (Which supersedes your DRAM addressing). The computer reserves blocks of MMIO addresses for VRAM, then buses/bridges/BIOS, then DRAM. Your RAM gets all the addressing space left, which is usually 2.5-3.12GB.

That's why.
 
Reply With Quote
 
brock samson brock samson is offline
New Member
brock samson's Avatar
Join Date: Sep 2011
Posts: 5
Thanked: 0
 
      09-09-2011
Let me see if I can break this down....What originally brought me to this line of thinking was a article in PC world about tweaking Windows Aero effects -This article said to create a new DWORD to achieve the effect, so i got to thinking (i know bad idea) - But I am running 64bit, so do i still follow the instructions exactly or can the same thing be achieved by choosing QWORD instead with the same data or would the 32bit tweak not work on a 64bit system.....Now I could not find the same article online as in print, so i referred to a similar article I found online in which it is mentioning to use 32bit or 64bit when tweaking windows check out this link i mentioned in my 1st post http://www.wincert.net/forum/index.php?/topic/8781-how-to-speed-up-aero-peek-thumbnail-preview/

Like i said this one is just an example, so when i find future Windows tweaks - you mention it is just the value data that matters, but is that literally like how many characters you put into the value to decide to use a DWORD or QWORD? Or is there more to it than that?

How does one tell DWORD or QWORD when making tweaks to windows which to choose?

To use the link i mentioned to be more clear - at the bottom of the linked page, it talks about if you wanted to delay the aero peek preview (dont know why someone would want to do that) but still you could enter many characters to achieve this delay and you would need many, many characters before you reach that 32bit limit - so that doesnt make sense...Do you see where I am going? where do you get your data from to know which type of key you need?

Or can you take the simple route, If I have a 32bit system then choose DWORD, but if I have a 64bit system and I am tweaking a 64bit application then choose QWORD?

Am I making sense - just hit me in the head if the answer is no!
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-09-2011
It's almost always dword. 99% of the time. Qword is rare as hell. It's that simple.

To put it another way, if you're tweaking a Windows setting, it's always going to be dword.
 
Reply With Quote
 
brock samson brock samson is offline
New Member
brock samson's Avatar
Join Date: Sep 2011
Posts: 5
Thanked: 0
 
      09-09-2011
Quote:
Originally Posted by Thrax View Post
It's almost always dword. 99% of the time. Qword is rare as hell. It's that simple.

To put it another way, if you're tweaking a Windows setting, it's always going to be dword.
Thanks i think that is what i am looking for....can you mention some examples where someone would need to use QWORD then?
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-09-2011
I cannot honestly think of any examples. To show you how rare qword is actually used, this thread is already on the first page of Google for using qword in Windows--which means nobody has ever found a use for it.
 
Reply With Quote
 
clifford_cooley clifford_cooley is online now
(c_c)
clifford_cooley's Avatar
Join Date: Mar 2009
Location: Arkansas, USA
Posts: 4,509
Thanked: 930
 
      09-09-2011
I've been trying to say it's the data being stored and the application calling the data that dictates which is used. But I have no idea how accurate that statement would be.

It would be kind of silly for a programmer to use only DWORD values but store them as a QWORD's.

Thrax, when exactly do you think a QWORD would be needed, that is a huge value.
 
Reply With Quote
 
Thrax Thrax is offline
Super Moderator
Thrax's Avatar
Join Date: Apr 2009
Location: Detroit Metro
Posts: 926
Thanked: 262
Send a message via ICQ to Thrax Send a message via AIM to Thrax Thrax's Twitter Pag
 
      09-09-2011
Maybe if a particularly large value needs to be stored in the registry. I don't know. It seems useless for the foreseeable future.
 
Reply With Quote
 
TrainableMan TrainableMan is offline
^ The World's First ^
TrainableMan's Avatar
Join Date: May 2010
Location: PA, USA
Posts: 4,654
Thanked: 887
 
      09-10-2011
So the answer is NO, never substitute QWORD instead of DWORD even if you have a 64-bit system. In fact, in the article you listed brock, it seems like some words are missing but I'm not sure why the poster even mentions it at all in that context.

Now I can tell you this. There is often a different or sometimes a second registry location that needs tweaked on 64-bit systems, but still the entry is typically DWORD. People who offer such tweaks generally specify any differences in 32 or 64 bit; just use what is posted.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 02:23 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33