[SOLVED] DirectInput problem - duplicated registry keys
I discovered that every time I rebuild and run my app DirectInput creates a new registry key in HKEY_CURRENT_USER/SOFTWARE/Microsoft/DirectInput with my app's name. I had hundreds of keys and it took me half an hour to delete them all.
The DirectX SDK Documentation mentions the problem, but it just says that:
"To avoid generating multiple keys in the registry, use the binary value, AppIdFlag. "
and then describes the possible values of AppIdFlag.
The problem is, where/what is this flag? I scanned the register and found nothing. It doesn't seem to be in the DirectInput creation functions either. I searched on google and I only find a page that could help, but it's in german and I can't read it.
I really don't know where to look for it! I hope you can help me! Thanks.
(in case someone knows german, here is the page..)
http://www.google.it/search?q=cache:Aooh0ez6LKQJ:www.zfx.info/DisplayThread.php%3FTID%3D14523+directinput+appidflag&hl=it
[Edited by - Arcibald Wearlot on September 22, 2004 2:38:53 PM]
I believe you're supposed to create it within that registry key (CURRENT_USER/SOFTWARE/Microsoft/DirectInput). By default the value doesn't exist, because most systems don't use it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement