You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Sorry for the delay Andras. All my project does is show you how to build PJSIP for .NET. If you're having issues implementing PJSIP, other forums are a better place to start.
It this case, it sounds like you haven't copied across a required DLL.
Also, like you say, try rebuilding the project from the start as 32/64 bit if you're sure the DLL is in place.
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.
The text was updated successfully, but these errors were encountered: