• Advertisement
Sign in to follow this  

CS_NOCLOSE and Console Windows

This topic is 4892 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Does anyone know if it is possible to disable the close option from console apps? This returns an access denied error: SetClassLong(GetConsoleWindow(), GCL_style, CS_NOCLOSE | GetClassLong(GetConsoleWindow(), GCL_style))

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement