Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Question For The Experts (DirectInput Registry Key)

Author
Message
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 09:17 Edited at: 4th Jan 2010 09:19
I found my registry key:

HKEY_CURRENT_USER/SOFTWARE/Microsoft/DirectInput

bloated with references to DBP executables and I found this (see attachment) on the Microsoft site.

Any cure for this?
Was it something that was up to the developer to fix?

Thanks

P.S.
Forgot to mention that the same reference is reported hundred times

Attachments

Login to view attachments
Kira Vakaan
16
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 4th Jan 2010 09:50
*checks registry* Ohhhhh my.

Same thing here.
This is the first time I've ever heard of this, in any DBPro tutorial or technical document I've read, which makes me think it is the fault of the compiler.
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 10:13
The machine ( PC ) cannot be at fault since it only does what you tell it to do.
Probably it's how Windows works or DBP works.
Kira Vakaan
16
Years of Service
User Offline
Joined: 1st Dec 2008
Location: MI, United States
Posted: 4th Jan 2010 10:15
I'm sure you must have read my post as "computer". I said "compiler".
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 10:57
Ahh right dude, my fault

cheers

Let's hope there's some fix though
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 4th Jan 2010 11:32
Quote: "I found my registry key:

HKEY_CURRENT_USER/SOFTWARE/Microsoft/DirectInput

bloated with references to DBP executables "


I see what you mean. I regularly use a registry cleaner but that obviously hasn't helped here. I wonder what useful purpose all those entries serve. It's tempting to delete them all and see what happens ...
Rudolpho
19
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 4th Jan 2010 11:33
Oh my...
Is there likely to be any problems with the referred programs, should you delete these keys?

Syncaidius
20
Years of Service
User Offline
Joined: 22nd Mar 2005
Location: United Kingdom
Posted: 4th Jan 2010 11:53 Edited at: 4th Jan 2010 11:54
If only there was a way to delete them all at once instead of one at a time.

I have literally, 500+ entries for the same EXE for one of my projects in there. Seems completetly pointless having all those registry entries. Deleted a few of them now anyway, no problems so far.

EDIT:
Not to mention all the TEMP.EXE I just found....

Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 11:57
I've been deleting my close to one thousand entries manually.
( Del - Enter ).
Took Half an hour of pain.

Then after cleaning I succesfully ran a DBP program and ..there it was...

Annoying..
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 12:03
Quote: "I regularly use a registry cleaner but that obviously hasn't helped here"


I think the cleaner rightly does see it as a valid application entry since DBP is installed on the PC.
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 4th Jan 2010 12:55 Edited at: 4th Jan 2010 12:56
Reading that .rtf file makes me thing is the fault of DirectInput. You didn't get the whole page - you missed the following part:
Quote: "The AppIdFlag value should only be set on test computers to avoid the possibility of two applications that ship with the same file name interfering with each other's input control mappings."


Also from my reading of that, it's only because you are a developer that a new key is created each time as it creates a new one each time you compile & run - someone else using your program would only have one key for each version they have downloaded.

You can disable it for your machine by setting a registry value (attached .reg file - just download & double-click), but you should not automatically disable it for anyone using your program as other programs & games that they use may have need of it.

Attachments

Login to view attachments
Green Gandalf
VIP Member
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 4th Jan 2010 13:19
Makes you wonder what other rubbish is lurking in the registry - or elsewhere for that matter.

Thanks for that reg file. When I have a few minutes I'll delete those old entries and see what happens.
Scorpyo
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: italy
Posted: 4th Jan 2010 14:53
Great enlightening IanM
Thanks for the reg file too.
Cheers

Login to post a reply

Server time is: 2025-06-18 07:12:17
Your offset time is: 2025-06-18 07:12:17