i have windows forms application wich runs another console application here is the part of code
prog = new Process();
prog.StartInfo.FileName = exefile;
the console application should create file but when running that application from C# it doesn't creates any file when im running console application with double click it works fine here is the part of code from "exefile" (its on c++)
freopen("file.in","r",stdin);
freopen("file.out","w",stdout);
printf("somedata\n");
"file.in" surely exists
please help me find out whats wrong thanks