앞부분 생략 *
DllNamePos := VirtualAllocEx(hProcess, Nil, 1000, MEM_COMMIT, PAGE_READWRITE); WriteProcessMemory(hProcess, DllNamePos, Pointer(DllName), Length(DllName), BytesWritten); ThreadHandle := CreateRemoteThread(hProcess, nil, 0, GetProcAddress(LoadLibrary('kernel32.dll'), 'LoadLibraryA'), DllNamePos, 0, TheadID); WaitForSingleObject(ThreadHandle ,INFINITE); VirtualFreeEx(hProcess ,DllNamePos ,0 ,MEM_RELEASE); CloseHandle(ThreadHandle); CloseHandle(hProcess); end; end;
VirtualAllocEx이게 오류 뜨네요..ㅜ
ldentfiter not found "VirtualAllocEx" 이렇게 뜨는데 어떻게 해결 해야 하나요.?
use절에 windows도 넣었습니다. |