cgs1999 / boghe

Automatically exported from code.google.com/p/boghe
0 stars 0 forks source link

RunTime Error after compiling #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After i compile i get an exception at App.cs at line 48
 String log4net = String.Format(BogheApp.Properties.Resources.log4net_xml, Win32ServiceManager.SharedManager.ApplicationDataPath);

 and the exception is 

{System.TypeInitializationException: The type initializer for 
'org.doubango.tinyWRAP.tinyWRAPPINVOKE' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: 
Unable to load DLL 'tinyWRAP': The specified module could not be found. 
(Exception from HRESULT: 0x8007007E)
   at org.doubango.tinyWRAP.tinyWRAPPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_tinyWRAP(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidCastDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
   at org.doubango.tinyWRAP.tinyWRAPPINVOKE.SWIGExceptionHelper..cctor() in C:\Users\fkhasib\Documents\Visual Studio 2010\Projects\VideoConferecingLibrary\branches\2.0\doubango\bindings\csharp\tinyWRAPPINVOKE.cs:line 106
   --- End of inner exception stack trace ---
   at org.doubango.tinyWRAP.tinyWRAPPINVOKE.SWIGExceptionHelper..ctor()
   at org.doubango.tinyWRAP.tinyWRAPPINVOKE..cctor() in C:\Users\fkhasib\Documents\Visual Studio 2010\Projects\VideoConferecingLibrary\branches\2.0\doubango\bindings\csharp\tinyWRAPPINVOKE.cs:line 126
   --- End of inner exception stack trace ---
   at org.doubango.tinyWRAP.tinyWRAPPINVOKE.MediaSessionMgr_defaultsSetAgcEnabled(Boolean jarg1)
   at org.doubango.tinyWRAP.MediaSessionMgr.defaultsSetAgcEnabled(Boolean agc_enabled) in C:\Users\fkhasib\Documents\Visual Studio 2010\Projects\VideoConferecingLibrary\branches\2.0\doubango\bindings\csharp\MediaSessionMgr.cs:line 115
   at BogheApp.Services.Impl.Win32ServiceManager..ctor() in C:\Users\fkhasib\Documents\Visual Studio 2010\Projects\WindowsClient\boghe-app\Services\Impl\Win32ServiceManager.cs:line 76
   at BogheApp.Services.Impl.Win32ServiceManager.get_SharedManager() in C:\Users\fkhasib\Documents\Visual Studio 2010\Projects\WindowsClient\boghe-app\Services\Impl\Win32ServiceManager.cs:line 64}

Original issue reported on code.google.com by faraj...@gmail.com on 24 Aug 2011 at 12:57

GoogleCodeExporter commented 9 years ago
I have the same problem, anyone please help!

Original comment by vanloi999 on 18 Sep 2011 at 8:37

GoogleCodeExporter commented 9 years ago
I face this issue too!
After few days look around, I found this solution:
 - Rebuild doubango framework, on this step we face another problems: a lot of header(*.h) and lib file is missing! We must download DirectX SDK, install and copy missing file from DirectX SDK to our system (C:\Program Files\Microsoft SDKs\Windows\v6.0A). Everything seem ok. We got the framework.

 - Rebuild boghe
 - Run the application. Everything is ok on my computer now.
   I publish or rebuild install package, install to my computer, the application run ok but it's cannot run on any others computer! The same error message as above is show.

*I use window 7 64bit

Original comment by huynhphu...@gmail.com on 5 Oct 2011 at 4:37

Attachments:

GoogleCodeExporter commented 9 years ago
@faraj...@gmail.com
The problem is that "tinyWRAP.dll" is missing. Make sure that you have 
successfully rebuilt tinWRAP project.

@huynhphu...@gmail.com
This is Windows SxS issue and Doubango revision 662 should fix the issue.

Original comment by boss...@yahoo.fr on 13 Oct 2011 at 3:02