Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add some code to the main, to stop the console from popping up #6

Open
mcabel opened this issue Jan 31, 2023 · 1 comment
Open

Comments

@mcabel
Copy link

mcabel commented Jan 31, 2023

add this code in main() to stop the console from popping up

#ifdef _WIN32
    DWORD procs[2];
    DWORD procct = GetConsoleProcessList((LPDWORD)procs, 2);
    if (procct < 2) ShowWindow(GetConsoleWindow(), SW_HIDE);
#endif
@novomesk
Copy link
Owner

novomesk commented Feb 1, 2023

That debug console is created by GIMP 2.99 . I guess it should be possible to build it with the console disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants