|Project:||The Open Toolkit library|
We have a client with a computer with "no dedicated sound card" (whatever that means). Our software fails to create an Audio Context with the following exception...
EXCEPTION Unhandled exception: System.TypeInitializationException
The type initializer for 'OpenTK.Audio.AudioContext' threw an exception.
The type initializer for 'OpenTK.Audio.AudioDeviceEnumerator' threw an exception.
As best we can figure, it seems to fail in the enumerator, which causes the constructor to fail, which causes a call to Finalize, which causes the enumerator to fail...
We are unable to handle it in the usual way (try/catch) because Microsoft says that exceptions in Finalize methods are unhandleable.
Anyone with similar experience?
Is it possible to put some protection in the AudioContext.Finalize to catch any exceptions?