Skip to content

The service process could not connect to the service controller #61

@psteffensen

Description

@psteffensen

I have compiled and get the three exe files. Then I run VBoxVmService.exe and nothing happens. The log file says:
11/10/2021, 14:17:30 - c:\users\signum\documents\repos\vboxvmservice\build_x64\release\vboxvmservice.exe 11/10/2021, 14:17:30 - c:\users\signum\documents\repos\vboxvmservice\build_x64\release\VBoxVmService.ini 11/10/2021, 14:17:30 - c:\users\signum\documents\repos\vboxvmservice\build_x64\release\VBoxVmService.log 11/10/2021, 14:17:30 - VBoxVmService started. 11/10/2021, 14:17:30 - StartServiceCtrlDispatcher failed: The service process could not connect to the service controller.

I use Win10 and have installed both vcredist_x86.exe and vcredist_x64.exe and restarted the computer. Maybe I am not able to access the "services" on this machine?

By the way, after compilation it says this in the end:
C:\Users\signum\Documents\repos\VBoxVmService\src\VmServiceTray.cpp(304,54): warning C4311: 'type cast': pointer trunc ation from 'HMENU' to 'UINT' [C:\Users\signum\Documents\repos\VBoxVmService\build_x64\VmServiceTray.vcxproj] C:\Users\signum\Documents\repos\VBoxVmService\src\VmServiceTray.cpp(304,54): warning C4302: 'type cast': truncation fr om 'HMENU' to 'UINT' [C:\Users\signum\Documents\repos\VBoxVmService\build_x64\VmServiceTray.vcxproj] VmServiceTray.vcxproj -> C:\Users\signum\Documents\repos\VBoxVmService\build_x64\Release\VmServiceTray.exe Building Custom Rule C:/Users/signum/Documents/repos/VBoxVmService/CMakeLists.txt The system cannot find the path specified.

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