Cannot record after lastest Windows 10 updates.

Started by csanchez, October 19, 2022, 11:46:23 PM

Previous topic - Next topic

csanchez

Hello, my app returns error ERR_GENERIC and is unable to record after Windows 10 installed the latest upgrades (22H2). I tried with provided sample app SimpleMp3Rec and it returns the same error.
Just upgraded from version 10 to 11 but the issue remains.

Best Regards.

Administrator

Hello and thanks for your feedback,

as seen in other situations, Windows upgrades will sometime delete important keys from the registry so it's likely that something similar happened again: in this specific case, if the exe returns the mentioned error, it seems that the "trial" version of the product is being used in place of the purchased version so it's likely that the "trial" version of the component is still in place and referenced by the application.

Assuming that the problem is happening inside your development machine, you should try to:
- restart Windows
- uninstall our product's package
- make a global search inside your development machine for any remaining occurrence of the following assemblies and binaries:
   - AudioSoundRecorder.dll
   - AudioSoundRecorderF4.dll
   - AdjMmsEng.dll
   - AdjMmsEng64.dll
- and delete any of these mentioned files
- try to reinstall the full version and report us if you still have problems

Hope this will help

Kind regards

Severino Delaurenti
MultiMedia Soft

csanchez

Hi Severino

I forgot to mention this issue arose in a production computer, no trial files there, only files on Redist folder were installed.
In our development computer everything works just fine.

Thanks.

Administrator

Hi,

this is just quite strange: if the error started after a Windows update there could be the chance that something weird happened at that time; the ERR_GENERIC in this case could be caused by something unexpected, usually something damaged inside the Windows multimedia system or inside the sound card driver. Are you able to identify the exact method call that returns the ERR_GENERIC error?

Kind Regards

Severino Delaurenti
MultiMedia Soft

csanchez

Sure, after line

nResult = AudioSoundRecorder.StartFromDirectSoundDevice(idDev, idSource, rFileName)

nResult returns ERR_GENERIC

Administrator

There are only 2 situations that could cause the ERR_GENERIC to be returned from that method:
- the trial version is used outside of the development machine
- one between the Windows multimedia system and the sound card driver has been damaged in some way so DirectSound is not able to properly communicate with the lower level

In order to totally exclude the first situation you may invoke the AboutBox method of the component from your code and see if the opened form states that the version is the full one or the trial one

For the second situation the only possibility would be to use a Windows restore point prior to the troublesome Windows update; you may eventually also try with a different production PC in order to see if the problem is reproduced as well.

Hope this may be of help

Kind Regards

Severino Delaurenti
MultiMedia Soft


csanchez

Hi,

AboutBox method returns:

Component version: 11.0.0.0
Audio Engine version: 14.0.0.1
Full version

I will give it a try on another production PC with similar configuration.

Thanks

Administrator

Hi,

please, keep us posted about your test and, eventually, verify the availability of an updated sound card driver from the manufacturer: a reinstall of the sound card driver could be an option as well.

Kind Regards

Severino Delaurenti
MultiMedia Soft