Skip to content

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

Description

@mcabel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions