Getting error when exiting from constructor

I have a C++ dll which is based on JUCe library.This dll has one class which i am using to play an audio file.In my constructor i am initialising the audodevicemanager object but while exiting from the constructor i am getting error.I am using this dll in c# code.And i am creating the instance of this class in wrapper function within dll and i am importing this function.can anyone help me with it
Thanks in advance.

I am using the latest JUCE Library release 2.0