|
-
October 29th, 2009, 07:20 AM
#1
Attempted to read or write protected memory. This is often an indication that other m
Hi,
I have this error in "CopyMemory".
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
#region API
[DllImport("Kernel32.dll", EntryPoint = "RtlMoveMemory")]
private static extern void CopyMemory(IntPtr Destination, IntPtr Source, [MarshalAs(UnmanagedType.U4)] uint Length);
#endregion
IntPtr ipSource = m_bmdLogo.Scan0;
IntPtr ipDest = (IntPtr)(pBuffer.ToInt32() + ((w * 3) * N));
CopyMemory(ipDest, ipSource, ((uint)m_bmdLogo.Stride));
please help regarding this issue
Thanks !
[email protected]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|