Hello,

Here is the simple code works fine execute Notification app properly.
How to run the executed app in run silent mode or background.
And appear in taskmanager -> services.

Code:
#include <windows.h>
#include <stdlib.h>
#include <string.h>
#include <tchar.h>

static TCHAR szWindowClass[] = _T("win32app");
static TCHAR szTitle[] = _T("Win32 Guided Tour Application");
HINSTANCE hInst;
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);

int WINAPI WinMain(HINSTANCE hInstance,
                   HINSTANCE hPrevInstance,
                   LPSTR lpCmdLine,
                   int nCmdShow)
{
    HWND                hWnd;
    STARTUPINFO         sInfo;
    PROCESS_INFORMATION pInfo;
    ZeroMemory(&sInfo, sizeof(sInfo));
    sInfo.cb = sizeof(sInfo);
    ZeroMemory(&pInfo, sizeof(pInfo));

    if (CreateProcess(L"D:\\Program\\Notify\\notifyer.exe", NULL, NULL, NULL, false, CREATE_NO_WINDOW, NULL, NULL, &sInfo, &pInfo))
    {
         //printf("Sleeping 100ms...\n");
    //    Sleep(100);

        DWORD dwExitCode;
        GetExitCodeProcess(pInfo.hProcess, &dwExitCode);

        CloseHandle(pInfo.hThread);
        CloseHandle(pInfo.hProcess);

    }

    //system("pause");
    
    return 0;
}
Answers Appreciated,
Thank you.