HKEY_USERS\S-1-5-21<lotsa numbers>\Software\Microsoft\DirectInput\AppName.exeMORENUMBERS
Annoying directinput registry keys
Hi all,
DirectInput has an annoying habit of creating a key for every unique app run in the registry at:
Does anyone know how to turn off this key creation - I did it with my last windows setup but had to reinstall windows recently and forgot how to turn this off :(
P.S. If you're developing something with directinput, have a look at the key above - there may be *thousands* of them - one for each time you recompile your app and run it!!!
In the DirectX SDK documentation at:
DirectInput ->
Programming Tips and Tools ->
Avoiding Duplicate Registry Keys
DirectInput ->
Programming Tips and Tools ->
Avoiding Duplicate Registry Keys
Simon is right. Check out the documentation there for a full explanation. I found the docs a little ambiguous as to where to create the key, and what its value should be (perhaps it's just me).
I have a .reg file for setting the value and it looks like this in text form
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\DirectInput]
"AppIdFlag"=hex:03
a
I have a .reg file for setting the value and it looks like this in text form
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\DirectInput]
"AppIdFlag"=hex:03
a
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement