I want to use libsamplerate library in my windows phone project.So I add its lib file to the linker input.As I run the project it doesn't even reach the native code entry point that I set a breakpoint there and encounter the error:
First-chance exception at 0x7723277C (KERNELBASE.DLL) in TaskHost.exe: 0xE0434352 (parameters: 0x8007007E, 0x00000000, 0x00000000, 0x00000000, 0x70BF0000).
As I comment the method which belong to libsamplerate library the error doesn't appear anymore. I searched the web for days with no successful result.
I had tried to use other 3d party library in windows phone runtime component and always encounter the same error.
What circumstances should the library have to be used in windows phone runtime component? Can we use typical libraries in it or not?