Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Adding DWORD values via INF AddReg Directive

- - - - -

  • Please log in to reply
No replies to this topic

#1
naaloh

naaloh

    Newbie

  • Member
  • 25 posts
  • Joined 12-February 12
  • OS:ME
  • Country: Country Flag
I noticed that this page of the MDGx website ends with the following passage:

Using an INF there is not a way to add dwords in Windows 95/98/ME, but there is a way to trick the system to believe that you did:
Set a binary key to the value of 01,00,00,00. This will reflect the same as a dword of one.

This is not exactly correct. On Windows ME I was able to add DWORD values in accordance with this MSDN article, namely by using the 0x00010001 flag. I don't know if it works on Windows 95/98, but Windows ME entries like
HKLM,Software\Microsoft\Windows\CurrentVersion\SharedDLLs,%11%\atl70.dll,65537,01,00,00,00
do produce the desired DWORD values in the registry (0x00000001 in the sample entry). The MSDN artice is also useful because it lists all possible flags. For instance, you can use 65539 instead of 65537 to keep any existing value in the registry instead of replacing it.


How to remove advertisement from MSFN



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN