Visual Studio 2017 dependent .dll not found

  Uncategorised

I am working on a speech recognition children’s game using an external API that I want to use on my project. Said API has lib files, dll files, header files and cpp files. As of right now I have successfully added the library files (at least I think I have) to my project directory, added all the necessary header files to external dependencies and I am left to add two .dll files to my project. First, I add my Audio.dll file and it gets added perfectly with no issues. Second, I add my Speech.dll and here is where my problem arises. I don’t receieve any errors in my debug error list, however, the output of my project looks like this:

'Project.exe' (Win32): Loaded 'C:PathProject.exe'. Symbols loaded.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32ntdll.dll'. Cannot find or open the PDB file.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32mscoree.dll'. Cannot find or open the PDB file.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32kernel32.dll'. Cannot find or open the PDB file.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32KernelBase.dll'. Cannot find or open the PDB file.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32ucrtbased.dll'. Cannot find or open the PDB file.
'Project.exe' (Win32): Loaded 'C:WindowsSystem32vcruntime140d.dll'. Cannot find or open the PDB file.
The thread 0x3274 has exited with code -1073741515 (0xc0000135).
The thread 0x198c has exited with code -1073741515 (0xc0000135).
The program '[17020] Project.exe' has exited with code -1073741515 (0xc0000135) 'A dependent dll was not found'.

After this I get a popup System Error: The code execution cannot proceed because Speech.dll was not found. Reinstalling the program may fix this problem.

No mention of Audio.dll, however, Speech.dll which is in the same folder as Audio.dll isn’t being found. I tried reinstalling the .dll, I tried reinstalling Visual Studio 2017, I tried Add->Existing Item->.dll, I tried adding the dll to the project path where the .exe is and I’ve tried adding it to every folder/subfolder all receiving the same sequence as my output.

My question is, how do I get my visual studio 2017 project to recognize my Speech.dll file?

Source: Visual Studio Questions

LEAVE A COMMENT