V
V
vadim_tur2015-09-23 12:45:06
.NET
vadim_tur, 2015-09-23 12:45:06

Can't connect dll to .NET WEB API?

I dug for a long time but have not found a solution yet. The point is this: I created a class library, I connect it to the console application in which I first install the NLAME library, everything works. I create a WEB API project, I connect it still gives an error:

An exception of type 'System.DllNotFoundException' occurred in LameDLLWrap but was not handled in user code
Additional information: Cannot load DLL 'libmp3lame.32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

For the second day I can not find a solution. I will be very grateful.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Martyanov, 2015-09-23
@vadim_tur

Is the specified DLL present in the library search directories?

R
Rainbird, 2015-09-23
@Rainberd

Is the project 64-bit by any chance?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question