I am reading the name of an application from a registry value, however I need to change the code to read multiple application names from the registry value. The registry value will be a comme delimeted string, and I think I need to read these values into an array and then launch these application.
As I have virtually no C experience, can someone please help me with this ?
success = get_registry_value(APPLICATION, "WorkstationRole", newApplication, sizeof newApplication);
sprintf (WorkstationRole, "%s%s", path, newApplication);
WorkstationRole, // cmd line
NULL, // process sa
NULL, // thread sa
FALSE, // inherit handles
0, // flags
NULL, // env
NULL, // cur dir
// Close the thread handle as it is not required