Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
'run' won't run some exe files
#3
Did not hear about it before. Can I freely download the software to test/debug?

QM run command internally uses Windows API function ShellExecuteEx. Other functions that can be used to run a program are ShellExecute, CreateProcess, WinExec. Example with WinExec (it is simplest):

Code:
Copy      Help
dll kernel32 #WinExec $lpCmdLine nCmdShow

WinExec("notepad.exe" SW_SHOWNORMAL)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)