Skip to content
Discussion options

You must be logged in to vote

the code that is triggering the access denied:

            if (processHandles.ContainsKey(processId))
            {
                editor.hProc = processHandles[processId];
            }
            else
            {
                editor.hProc = OpenProcess(PROCESS_VM_READ | PROCESS_VM_WRITE | PROCESS_VM_OPERATION, false, processId);
                processHandles.Add(processId, editor.hProc);
            }

            if (hasLexilla.ContainsKey(processId))
            {
                editor.HasLexilla = hasLexilla[processId];
            }
            else
            {
                // Check if any module in the process has the name "Lexilla.dll"
                Process process…

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
4 replies
@jllewisville
Comment options

@jllewisville
Comment options

@tim-slater-gt
Comment options

@jllewisville
Comment options

Comment options

You must be logged in to vote
2 replies
@jllewisville
Comment options

@tim-slater-gt
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jllewisville
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants