C#.net error: Attempt to read or write protected memory or often this is the indication that other memory is currupt
-
Hi Fellows: I am facing an error of access voilation while running a piece of code with Unsafe Context...I am developing steganographic application.And I want to embedd DataImage into Cover image using LSB method with the help of Lockbits() and UnLockBits () methos.. But when I compile the code it is compiled & Build succesfully.But at run time the app. frozes and with the following error message for the statement.
byte bb=ptr1[0] //where ptr1 is byte type pointer that points to Scan0 ,i.e 1st byte of locked image array.
Error :AccessVoilationUnhandelled exception Plateform :Visual C# Express edition VS.Net 2.0,Win XP Error Message: AcessVoilation: attempt to read or write protected memory.This is the oftenindication that other memeory is currupt. also I am thanfull to Chorrina John...who write very helpful articles on Steganography...I request If she is there please help & Supervise me in my project. Waiting for ur good response... Thanks I am getting B.S. degree in Computer Science.And want to enhance career in Software development. -
Hi Fellows: I am facing an error of access voilation while running a piece of code with Unsafe Context...I am developing steganographic application.And I want to embedd DataImage into Cover image using LSB method with the help of Lockbits() and UnLockBits () methos.. But when I compile the code it is compiled & Build succesfully.But at run time the app. frozes and with the following error message for the statement.
byte bb=ptr1[0] //where ptr1 is byte type pointer that points to Scan0 ,i.e 1st byte of locked image array.
Error :AccessVoilationUnhandelled exception Plateform :Visual C# Express edition VS.Net 2.0,Win XP Error Message: AcessVoilation: attempt to read or write protected memory.This is the oftenindication that other memeory is currupt. also I am thanfull to Chorrina John...who write very helpful articles on Steganography...I request If she is there please help & Supervise me in my project. Waiting for ur good response... Thanks I am getting B.S. degree in Computer Science.And want to enhance career in Software development.