home/categories/framework-internals/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-debug-c-dll-injector-with-win32-api-error-checking-skill-md
framework-internalsdevelopment

debug-c-dll-injector-with-win32-api-error-checking

A skill for troubleshooting C# DLL injection failures by adding granular error logging after each P/Invoke call (OpenProcess, VirtualAllocEx, WriteProcessMemory, CreateRemoteThread) to identify the specific failure point using Marshal.GetLastWin32Error.

ECNU-ICALK
maintainer
ECNU-ICALK
更新於 3/16/2026
星標
304
分支
34
quick start

Installation and usage

A skill for troubleshooting C# DLL injection failures by adding granular error logging after each P/Invoke call (OpenProcess, VirtualAllocEx, WriteProcessMemory, CreateRemoteThread) to identify the specific failure point using Marshal.GetLastWin32Error.

安裝
$ install --globalskills.sh
使用

安裝後,您可以透過在終端機執行以下指令來使用此技能:

skills use debug-c-dll-injector-with-win32-api-error-checking