PJSIP-PJSUA2-CSharp
PJSIP-PJSUA2-CSharp copied to clipboard
DLL not found
Hi,
I downloaded your code and tried to test it with the code from here: https://www.pjsip.org/docs/book-latest/html/intro_pjsua2.html#id1
When I run the app it says: {"The type initializer for 'SWIGExceptionHelper' threw an exception."} InnerException = {"Unable to load DLL 'pjsua2': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
StackTrace = " at pjsua2PINVOKE.SWIGExceptionHelper..ctor()\r\n at pjsua2PINVOKE..cctor() in E:\Downloads\sip\PJSIP-PJSUA2-CSharp-master\PJSIP_PJSUA2_CSharp\Classes\pjsua2PINVOKE.cs:line 124"
the line 124 is: protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper();
Do you have an idea why this should happen? I read somewhere that I should try 32 bit instead of 64 but it did not help. Sorry if I missed something.