Skip to content

error #1

@cherrynechou

Description

@cherrynechou

int QtService4Win::run() {
SERVICE_TABLE_ENTRYW ServiceTable[]= {
{ ServiceName, (LPSERVICE_MAIN_FUNCTIONW)ServiceMain }, { nullptr, nullptr }
};
if (!StartServiceCtrlDispatcherW(ServiceTable)) {
qCritical() << tr("Error starting the service dispatcher.");
return 1;
}else{
return 0;
}
}

has error .need change

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