By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,836 Members | 2,028 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,836 IT Pros & Developers. It's quick & easy.

"Replace" settings stored in a registry key with a local file?

P: 3
Hello all, first post here.

I am using an old audio effects plugin (a .DLL) . It's "portable" (meaning that it doesn't need to be installed to run) but nevertheless it registers its equalization settings in the Windows registry.

Naive question - can I somehow "re-route" that registration process so that these values are stored in (and retrieved from!) a local file instead?

The idea is to include this plugin on a CD that can be started on a different computer without having it reset to "default" settings.

The plugin was freeware and the author's contact information is obsolete so I can't ask him directly. I have 0 experience with editing a DLL but am willing to learn ;-)

It stores these settings as follows:

Windows Registry Editor Version 5.00



[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft\Enhancer\Ver sion 017]
"Harm Bass"=dword:0000001f

(...) etc, for about a dozen equalization settings

[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft\Enhancer\Ver sion 017\Skin File]

Thanks! I hope I'm posting this to the correct forum.
Dec 4 '06 #1
Share this Question
Share on Google+
2 Replies

P: 3
Add-on to my earlier post.

I have searched the Microsoft KB and googled all over the place but I guess what I'm looking for is just impossible.

I noticed that the HKEY_CURRENT_USER hive can be accessed by a regular user whereas HKEY_LOCAL_MACHINE needs admin privileges.

So now I wonder if the following idea is viable:
1. modify the DLL so that it stores all values in the HKCU instead of the HKLM hive
(nB how? can I just edit it in VB studio and replace HKLM with HKCU?)

2. Include a batch file on my CD that would register this modified key (via REG ADD - should now work even w/o administrator priviledges?)

3. After execution, REG DELETE the whole key again.
What I'm really trying to do is run a completely "green" CD - insert, watch, eject, no changes whatsoever on the syetem.

I guess I'm just really confused about why this DLL registers in the HKLM hive.
After all, it just appears to store user preferences?
Sloppy programming by the original author or am I missing something important here?

I'd greatly appreciate some help even if it's just to tell me that I'm posting in the wrong forum here - I'm really kinda lost. Thanks.
Dec 4 '06 #2

P: 3
OK forget it, I found a solution on my own. Thanks for nothing.
Dec 5 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.