Creating a Console WindowIs it possible to create a console window through a DLL? I want to inject my DLL into a program and then have my DLL open a CMD window displaying certain information from the program I injected
Originally Posted by whit ehhh.. Why not just use a messagebox ? How would I do it with at MessageBox, doesnt printf only work in a console? My value will keep changing, I thought MessageBox didnt update.
Originally Posted by Void AllocConsole Function (Windows) sometimes your posts are really helpful, you know?
Originally Posted by aanthonyz Can I then just use cout to write to it? Nope. WriteConsole Function (Windows) Originally Posted by ♪~ ᕕ(ᐛ)ᕗ sometimes your posts are really helpful, you know? I know this. |:
yes you can , u will need to redirect the dll to the program , using the link u gave me , the guy did it there , he redirected the creatConsole(); to the dll , so , when u open the game , it will also open the CMD showing what u want!!