OpenProcess(Again)

10/20/2007 09:25 NegativeNrG#1
Hi,

why can't i still open Kal process? i tried with Autoit and C++..

here is what i've done to open with c++

Code:
#include <iostream>
#include <windows.h>

using namespace std;

HWND fw;
DWORD pid;

int main()
{
    fw = FindWindow(0,"KalOnline");
    GetWindowThreadProcessId(fw,&pid);
    cout << pid << "\n";
    HANDLE kal = OpenProcess(PROCESS_ALL_ACCESS,0,pid);
    if(!kal)
    {
            MessageBox(NULL,"Error","Error",MB_OK);
    }
    system("PAUSE");
    return EXIT_SUCCESS;
}
10/20/2007 16:01 NegativeNrG#2
Hi,

i did some googling and i found this old CE topic...
[Only registered and activated users can see links. Click Here To Register...]
they say u use CreateProcess + dll injection to access it..how would u do this?(i know how to do the injection part, but i dont know how to do it with CreateProcess...).