I'm having a problem with the current version of SDRSharp crashing in Windows 10. I've installed SDRSharp on other (Windows 7) PCs and I've installed an earlier version of SDRSharp (1.0.0.1331) on this Windows 10 machine without any problems.
However when I try to run the latest version of SDRSharp, nothing happens on the screen and a "crash.exe" file is created in the SDRSharp directory. The file reads:
The type initializer for 'PortAudioSharp.PortAudioAPI' threw an exception.
at SDRSharp.Radio.dll.PortAudioAPI.Pa_GetDefaultInputDevice (IL offset: 0xffffffff)
at SDRSharp.Radio.dll.AudioDevice.GetDevices (IL offset: 0x6)
at SDRSharp.exe.MainForm.InitializeGUI (IL offset: 0x153)
at SDRSharp.exe.MainForm..ctor (IL offset: 0x14a)
at SDRSharp.exe.Program.Main (IL offset: 0x69)
As I said, I can get version 1.0.0.1331 runing OK and it sees the RTL-SDR USB stick OK. Audio is fine. That version used .NET framework 3.5 (which I downloaded). The system also has the latest .NET Framework update for Windows 10, which I think is 4.6.1.
I don't understand the crash.txt file contents. Can anyone interpret them and suggest what might be the cause of the problem? There seems to be some reference to audio ports ("PortAudioSharp.PortAudioAPI"), but again the earlier version works just fine with no audio issues and other programs (like YouTube in Chrome and the system sounds) don't seem to have any problems with the audio ports.
The PC is a Dell Latitude e5500 laptop running Windows 10 64-bit, 2.2GHz Intel duo with 2GB RAM.
Thanks
However when I try to run the latest version of SDRSharp, nothing happens on the screen and a "crash.exe" file is created in the SDRSharp directory. The file reads:
The type initializer for 'PortAudioSharp.PortAudioAPI' threw an exception.
at SDRSharp.Radio.dll.PortAudioAPI.Pa_GetDefaultInputDevice (IL offset: 0xffffffff)
at SDRSharp.Radio.dll.AudioDevice.GetDevices (IL offset: 0x6)
at SDRSharp.exe.MainForm.InitializeGUI (IL offset: 0x153)
at SDRSharp.exe.MainForm..ctor (IL offset: 0x14a)
at SDRSharp.exe.Program.Main (IL offset: 0x69)
As I said, I can get version 1.0.0.1331 runing OK and it sees the RTL-SDR USB stick OK. Audio is fine. That version used .NET framework 3.5 (which I downloaded). The system also has the latest .NET Framework update for Windows 10, which I think is 4.6.1.
I don't understand the crash.txt file contents. Can anyone interpret them and suggest what might be the cause of the problem? There seems to be some reference to audio ports ("PortAudioSharp.PortAudioAPI"), but again the earlier version works just fine with no audio issues and other programs (like YouTube in Chrome and the system sounds) don't seem to have any problems with the audio ports.
The PC is a Dell Latitude e5500 laptop running Windows 10 64-bit, 2.2GHz Intel duo with 2GB RAM.
Thanks