Thread: freeconsole();

  1. #1
    Registered User
    Join Date
    May 2008


    This function is supposed to hide cmd window correct? but it doesnt for me =( whats wrong?
    Me and a friend want to create a fun, harmless prank on another buddies computer.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Farncombe, Surrey, England
    If you are doing this on a command prompt, then your application is likely not the only owner of the console window:
    Quote Originally Posted by MSDN
    If other processes share the console, the console is not destroyed, but the process that called FreeConsole cannot refer to it
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed
Website Security Test