Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > irrKlang
IrrKlang.NET4.dll - could not load file or assembly

Registered User
2022-12-05 01:59:33

I am getting:
Could not load file or assembly 'irrKlang.NET4.dll' or one of its dependencies. The specified module could not be found.

Win11 x64
VS2022 Community x64
Application: x86

I added 32bit IrrKlang.NET4.dll to References, it is also copied to local target folder during the build.

I also added to target folder 2 other DLLs: ikp.Flac.dll and ikpMP3.dll

I run all this on a remote computer, while I am debugging on my dev machine (remotely - through Remote Tools debugger on remote machine). The remote computer that the exact replica of my Debug directory with all the files...

Without IrrKlang the app runs and is debugged fine. When I add IrrKlang it runs but when I reach the first function that has IrrKlang functionality it throws the above exception.

I also installed Visual Studio 2010 Redistributables (vcredist_x86), but it did not help. Then I copied msvcr100.dll from C:\Windows\SysWOW64 (a folder for x86 modules), but it did not help either...

So what else I can do to make it work? What other dependencies IrrKlang has?
I did tried to load it into Dependency Walker...

2022-12-05 07:33:34

This usually happens if it really cannot find the file at all. Are you sure it is there?

2022-12-11 00:58:37

Why are you calling it ?
It is app in C and .NET 4.5
I see the DLL's name is IrrKlang.NET4.dll, as I download it from 32-bit directory. It is for sure x86 (I checked with 'depends.exe') and my app is also built for x86 target.
Besides, the DLL is right there - in the same Debug directory as all other files. So, it is for sure is not missing... It must be one of its dependencies is missing and since I installer redist_x86, it must be something else...

2023-01-10 15:58:58

Got the very same problem some years ago when I tried to upgrade from version 1.5 to version 1.6. Had spend several hours to find the reason - but ended up with going back to version 1.5.
Target OS: Win7 32bit

Please note: Problem only existed for x86 build for Win7
On my development PC (Win10 / 64 bit) everything was working.

Best regards,

Create reply:

Posted by: (you are not logged in)

Enter the missing letter in: "Int?rnational" (you are not logged in)




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Image [img][/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]



Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact