Click here to Skip to main content
15,905,593 members
Home / Discussions / C#
   

C#

 
AnswerRe: Copy Byte [] Pin
originSH16-Jul-08 23:22
originSH16-Jul-08 23:22 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 3:26
half-life17-Jul-08 3:26 
AnswerRe: Copy Byte [] Pin
DaveyM6916-Jul-08 23:25
professionalDaveyM6916-Jul-08 23:25 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 0:42
half-life17-Jul-08 0:42 
GeneralRe: Copy Byte [] Pin
Guffa17-Jul-08 1:33
Guffa17-Jul-08 1:33 
GeneralRe: Copy Byte [] Pin
half-life17-Jul-08 5:32
half-life17-Jul-08 5:32 
AnswerRe: Copy Byte [] Pin
leppie17-Jul-08 2:03
leppie17-Jul-08 2:03 
QuestionAttempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
ASysSolvers16-Jul-08 23:03
ASysSolvers16-Jul-08 23:03 
In my application I have hooked the keyboard.Global hooked and in one function im getting a error saying..

“Attempted to read or write protected memory. This is often an indication that other memory is corrupt.”

It comes from this code statement,

return CallNextHookEx(hookID, nCode, wParam, ref lParam);




[DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)]
private static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode,
IntPtr wParam, ref KBDLLHOOKSTRUCT lParam);

This cause to carshed my application. And Can U explain to overcome this issue.
AnswerRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
leppie17-Jul-08 1:58
leppie17-Jul-08 1:58 
GeneralRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
ASysSolvers17-Jul-08 2:38
ASysSolvers17-Jul-08 2:38 
GeneralRe: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
leppie17-Jul-08 3:08
leppie17-Jul-08 3:08 
QuestionwebBrowser control Pin
mahmoud wafy16-Jul-08 22:58
mahmoud wafy16-Jul-08 22:58 
AnswerRe: webBrowser control Pin
leppie17-Jul-08 2:02
leppie17-Jul-08 2:02 
QuestionApplication.Exit() Pin
ASysSolvers16-Jul-08 22:50
ASysSolvers16-Jul-08 22:50 
AnswerRe: Application.Exit() Pin
Giorgi Dalakishvili16-Jul-08 23:33
mentorGiorgi Dalakishvili16-Jul-08 23:33 
GeneralRe: Application.Exit() Pin
ASysSolvers17-Jul-08 2:34
ASysSolvers17-Jul-08 2:34 
QuestionDatagird issue Pin
Agweet16-Jul-08 22:26
Agweet16-Jul-08 22:26 
AnswerRe: Datagird issue Pin
nelsonpaixao17-Jul-08 12:45
nelsonpaixao17-Jul-08 12:45 
QuestionwebBrowser control Pin
mahmoud wafy16-Jul-08 22:17
mahmoud wafy16-Jul-08 22:17 
Answer[Message Deleted] Pin
stancrm16-Jul-08 22:42
stancrm16-Jul-08 22:42 
GeneralRe: webBrowser control Pin
leppie17-Jul-08 2:05
leppie17-Jul-08 2:05 
AnswerRe: webBrowser control Pin
Luc Pattyn17-Jul-08 3:28
sitebuilderLuc Pattyn17-Jul-08 3:28 
Questionwindows service Pin
arkiboys16-Jul-08 22:10
arkiboys16-Jul-08 22:10 
AnswerRe: windows service Pin
0x3c016-Jul-08 22:43
0x3c016-Jul-08 22:43 
GeneralRe: windows service Pin
arkiboys17-Jul-08 1:20
arkiboys17-Jul-08 1:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.