What to Do If the "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" Error Occurs
The "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" error can occur when microphone permission has been disabled on Windows 10 or later. This happens because oCam does not have the required permission to access the microphone. Below is a detailed explanation of how to resolve this issue.
For oCam to use the microphone properly, microphone access must be enabled in the Windows Privacy settings. Follow the steps below to check and adjust the setting:

1. Open the Windows Start menu and click 'Settings' (the gear icon).
2. In the Settings window, select 'Privacy'.
3. Click 'Microphone' in the left menu.
4. Check whether the 'Microphone access for this device' option is turned on. If it is turned off, click the switch to turn it on.
5. Check whether 'Allow apps to access your microphone' is turned on. If this setting is disabled, apps such as oCam cannot use the microphone. Make sure it is turned on, then save the setting.
After changing the setting, restart oCam and try recording with the microphone again. If the permission has been granted properly, the "WASRecord: pAudioClient->Initialize failed. (hr=0x80070005)" error is likely to be resolved.
If the problem continues, check the microphone device settings themselves in Control Panel > Sound > Recording tab, or try selecting the microphone input source again in oCam's 'Sound' settings. In addition, updating Windows and oCam to the latest version may also help.
Today's News/Tips
How to Set Up Automatic Login Using Autologon.exe
Here is how to set up automatic login using the autologin tool.
This method uses Autologon.exe from Microsoft's official Sysinternals Suite. It also provides a certain level of security by storing the password in encrypted form in the registry.
How to Set Up Automatic Login Using Autologon.exe
1. Download Autologon
Official Microsoft site: https://learn.microsoft.com/en-us/sysinternals/downloads/autologon
File download link: https://download.sysinternals.com/files/AutoLogon.zip
Click the Download Autologon button at the link above to download the ZIP file.
After extracting it, you will see the `Autologon.exe` file.
2. Run Autologon and Configure It
Run `Autologon.exe` as administrator. (Right-click โ "Run as administrator")
When the window opens:
Username: The account to log in automatically
Domain: In most cases, the computer name is filled in automatically
Password: Enter the password for that account
Click the [Enable] button
If the message โAutologon successfully configuredโ appears, setup is complete!
3. How to Disable Automatic Login
Run `Autologon.exe` the same way and click [Disable] to turn off automatic login.