Is it bad practice to append the Environment variable "Path" at run time in your MVC project?


I have a web-site in ASP.Net MVC, I have login page to with captcha on it, having a Audio button.

For the Audio functionality it is using the Unmanaged dll to add the background noise in it.

When I run the application and clicking on the Audio but it gave me the exception as below

Unable to load DLL 'libmp3lame.32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

After searching and googling, I got the solution

Just wana ask, is it the better solution?

asked on Stack Overflow Feb 5, 2020 by AstroBoy • edited Feb 6, 2020 by AstroBoy

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0