I didnt know i must post code here so sry everyone :).
So my problem is next: I have two exes that need to excange data. I tried using standard ::CreateProcess() and ::GetProcAdress() functions but got errors. I presume thats becouse exes are in different processes. I cant use COM for communication heres code
#include "stdafx.h"
#include
#include
using std::cout;
using std::cin;
#define EXPORT __declspec(dllexport)
typedef int(*BLA);
//typedef int (__stdcall *myFunc)(const int*);
int _tmain(int argc, _TCHAR* argv[])
{
STARTUPINFO si;
PROCESS_INFORMATION pi;