المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : getting "attempted to read or write protected memory in .net" when trying to create a AVI file.



C# Programming
08-29-2010, 01:01 PM
i'm trying to crate an AVI file using some screen shots as frames.but when starting the process it gives the the exception saying
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

the application that i use to create the avi file is loaded to my application using reflection.what i do is just pass the frames to this loaded application.

any idea why this occurs.
thanx n advance..