07-23-2014, 05:12 AM
1. run can be replaced with CreateProcess, it is the fastest function to start a process, but probably will be not much faster. Also try run flag 0x30000. Or QM function StartProcess with first argument 0, it simply calls CreateProcess.
2.1. Does exe return data when it exits? Or it continues running after returning data? Should the QM function wait until exe exits?
2.2. What is data size?
2.3. Exe can store data in a file, or in registry, or in shared memory, etc. Then need a way to notify the QM function and synchronize data access. It depends on 2.1.
2.1. Does exe return data when it exits? Or it continues running after returning data? Should the QM function wait until exe exits?
2.2. What is data size?
2.3. Exe can store data in a file, or in registry, or in shared memory, etc. Then need a way to notify the QM function and synchronize data access. It depends on 2.1.
