Jump to content
Biatu

AllocConsole Read Issues.

Recommended Posts

Biatu

I have a C++ gui program that creates a Console window via AllocConsole, however when using the various functions from Au3-Console, I cannot seem to read from the StdOut Stream.

I have tried attaching to the process console, however that is not the same console, as console calls such as GetScreenBufferInfo, ConsoleReadOutputCharacter, return nothing or unexpected results.

I have also tried calling ConsoleGetWindow, which does return the handle to the console window, but from there i cannot get any Std Streams.

 

Thank you

 


What is what? What is what.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.