Objective: To add a new feature for the current C++ Project, ensuring that the new code integrates seamlessly and the project is organized with all necessary dependencies and libraries.
Requirements:
get all windows services with output like this format
"services": [
{
"path_name": "\"C:\\Program Files\\Realtek\\Audio\\HDA\\RtkAudioService64.exe\"",
"name": "RtkAudioService",
"state": "Running",
"start_mode": "Auto",
"start_name": "LocalSystem",
"display_name": "Realtek Audio Service"
},
{
"path_name": "C:\\WINDOWS\\system32\\svchost.exe -k imgsvc",
"name": "stisvc",
"state": "Stopped",
"start_mode": "Manual",
"start_name": "NT Authority\\LocalService",
"display_name": "Windows Image Acquisition (WIA)"
},
{
"path_name": "C:\\WINDOWS\\system32\\svchost.exe -k LocalServiceNetworkRestricted -p",
"name": "AJRouter",
"state": "Stopped",
"start_mode": "Manual",
"start_name": "NT AUTHORITY\\LocalService",
"display_name": "AllJoyn Router Service"
}
]Functionality Verification:
- Ensure the process of sending webhooks works correctly with the required JSON format.
- The application should be executable as
software.exe https://panel.vk.do - Upon execution, the application should send two requests to the server and receive responses.
- The expected output from the server should be:
Ok
Ok
Ok
- Perform thorough testing to verify that the webhook functionality and the overall application work as expected.
- Provide the complete source code with the updated structure and all dependencies included.