Is it possible to open a c# exe file (console app) from another c # project (windows form) and to write or read different text values from the exe file? i'm using user32dll to handle the exe file.
Thx I did use this method to add a text in an exe file:
Clipboard.SetText("Message!");
foreach (IntPtr pPost in pControls)
{
PostMessage(pPost, (uint)WindowMessage.WM_PASTE, 0, 0);
}
but is not working. I don't see the "Message" post added in c# exe (which is a console app) . Thoug using the notepad.exe everyting is working ok.
user32.ddlto write to the exe?