Well, when I replace the call to create process with the following it works, but I don't know why.
Code:
HINSTANCE hInst = ShellExecute(0,                           
                               "open",                      // Operation to perform
                               strAppPath,  // Application name
                               strTasksPath,           // Additional parameters
                               0,                           // Default directory
                               SW_SHOW);