Click to See Complete Forum and Search --> : Modify the registry


maligorne
August 5th, 2005, 05:34 PM
I try to change sound system settings (playback and record devices) by modify the registry with regopenkey and regsetvalue. When i do it one time everything goes well but in my program i have to do it several times. The registry is well modified but sound system settings do not correspond with the value of the key: another open device that the one i have set is selected. I don't understand how is it possible that the registry key has a value different of the corresponding audio device ?The key i modify is HKEY_CURRENT_USER\\software\\microsoft\\multimedia\\Sound Mapper.
Does someone can help me ?

mistersulu
August 8th, 2005, 03:55 PM
I've never tried this, but many registry modifications don't take effect until after a reboot, especially device-related stuff. You could also try posting the code here if you believe this isn't the problem.

sulu