Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Command Line Parameters on an EXE
#15
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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)