I develop an WPF application, which using reflection to load other-side .NET assembly "Cons.dll". This loaded assembly is a console application. I see in debugger, that methods from this DLL are do their work. But I cannot see its Console output.
If I forced show console from my WPF app using imported function "AllocConsole" from "kernel32.dll", other-side "Cons.dll" are not puts its output to this console.
So question is how can I use other-side console assembly from main WPF application, and see its console output?
Aucun commentaire:
Enregistrer un commentaire