#include <windows.h>
#include <fstream>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
    (void)hInstance;
    (void)hPrevInstance;
    (void)lpCmdLine;
    (void)nCmdShow;

    std::ofstream log("skeleton.log");
    log << "WinMain called!" << std::endl;
    log.flush();

    MessageBoxA(NULL, "SecondVoice skeleton works! Press OK to continue.", "Success", MB_OK);

    log << "MessageBox shown, now exiting" << std::endl;
    log.close();

    return 0;
}
