Guys i want to learn how programs comminication each other for make bots.
Here is an example for calculator;
the point is SendMessage function.Calculator's buttons works in this way.With ollydbg i can find it which i did.But debugging is full of issues.I couldn't debug any normal program with ollydbg.Because it is crashing or accessing violation or exceptions bla bla.
So i'm wondering is there any other way to find how do programs communicate?
Here is an example for calculator;
Code:
#include <windows.h>
#include <iostream>
using namespace std;
int main(){
HWND hwndCalc;
hwndCalc = FindWindow(NULL, "Calculator");
if(!hwndCalc)
return 1;
SendMessage(hwndCalc, WM_COMMAND, MAKEWPARAM(0x84, BN_CLICKED), 0);
return 0;
}
So i'm wondering is there any other way to find how do programs communicate?