HelpConsoles with "AllocConsole" issues

Posts 1–12 of 12 · Page 1 of 1
Consoles with "AllocConsole" issues
Hey, I've been beating away at this issue, and I wanted to let the other coders and comunity know what's been found so far, and maybe someone can give a good suggestion or three with how it can be fixed (coding or otherwise).

I implemented the "GetLastError" function into my console and sent it off to sd999444 for testing, and the error he got back was



so...in conclusion
@Nico
@DanK
@Hell_Demon

Any ideas? If I'm the only one who's missed the "how to fix this" please let me know so I can stop derping around trying to get it to work.

@sd999444
@Vanten_the_destroyer
Thank you both for your help in testing things and letting me basically use your systems for testing.
Try calling FreeConsole(); before AllocConsole
we had error 6 as well. "SetConsoleMode has failed with error 6: the handle is invalid"

edit: i'm very new at coding with C++ haven't been taught.. but i'm looking through it now to see if i can get lucky =/ i have demonangel's console source to work with though and i'm one of the people that's getting the alloc console error so i should be able to test if i try anything
Quote Originally Posted by sd999444 View Post
we had error 6 as well. "SetConsoleMode has failed with error 6: the handle is invalid"

edit: i'm very new at coding with C++ haven't been taught.. but i'm looking through it now to see if i can get lucky =/ i have demonangel's console source to work with though and i'm one of the people that's getting the alloc console error so i should be able to test if i try anything
SetConsoleMode wont work without allocated console, thats why it failed.
Alloc Console Failed pops up, but it still works fine. It has the >.< on the taskbar.
Quote Originally Posted by shm0ke View Post
Alloc Console Failed pops up, but it still works fine. It has the >.< on the taskbar.
not for us. what OS are you on? win7 32 bit? thats the one that's been having trouble with it...
@Hell_Demon found something that could fix it. We're going to test it tomorrow.
well
i erase window updated files and it did work o.o...
Quote Originally Posted by Nico View Post
@Hell_Demon found something that could fix it. We're going to test it tomorrow.
How'd the fix go?
and @Hell_Demon I did try calling FreeConsole before AllocConsole, sorry I couldn't respond and let you know that. Same result.
you are most welcome

Quote Originally Posted by demonangel89 View Post
Hey, I've been beating away at this issue, and I wanted to let the other coders and comunity know what's been found so far, and maybe someone can give a good suggestion or three with how it can be fixed (coding or otherwise).

I implemented the "GetLastError" function into my console and sent it off to sd999444 for testing, and the error he got back was



so...in conclusion
@Nico
@DanK
@Hell_Demon

Any ideas? If I'm the only one who's missed the "how to fix this" please let me know so I can stop derping around trying to get it to work.

@sd999444
@Vanten_the_destroyer
Thank you both for your help in testing things and letting me basically use your systems for testing.
you are most welcome
I received the same allocconsole msg when i did not close the "sinInject" fast enough. Also i would like to point out that in mid game i was fighting and HackShield popped up with their error code and closed out my game. Happend a few times? May this injector and .dll's be Detected?
Quote Originally Posted by mojo90 View Post
I received the same allocconsole msg when i did not close the "sinInject" fast enough. Also i would like to point out that in mid game i was fighting and HackShield popped up with their error code and closed out my game. Happend a few times? May this injector and .dll's be Detected?
The problem is we have it working (theoretically...I haven't heard otherwise) on windows7 64 bit systems, and the allocconsole issue has come up most often on windows 7 32 bit systems. It's still possible that one or all of the dlls are detected, but what we're trying to solve here is the console not showing up at all (and as you've seen, it will show up even if it gets detected later).

But thanks for the info. ^_^
Posts 1–12 of 12 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us