This project has moved. For the latest updates, please go here.

AccessViolation Exception : Attempted to write protected memory

May 9, 2014 at 5:38 PM
Hi, i am recording audio every 3min & uplaoding it to google drive, there is a sleep of 8sec between stop & start but sometimes app crashes & show fault module name is ntdll.dll then I attached debugger & found problem is in NAudio. What i am doing wrong?

I am on Windows 7 64bit .net 4 & its 32bit app

peudocode:

while(true)
{
startmic record (by waveinevent)
sleep(3min)
stopmic record
sleep(8sec)
}
Coordinator
May 23, 2014 at 3:27 PM
what's the stack trace?