Re: How to run Eu pgm FROM Eu pgm, with PARAMETERS (for 2nd Eu pgm)

new topic     » goto parent     » topic index » view thread      » older message » newer message
Dan_M said...

What are the error codes, numerically, for shellExecuteEx,or where are they defined?

and, what if the path/file name includes SPACES in the path, how do I specify that so that a DOS program can handle it?

  1. The error codes are documented here. However there is a bug in the function. Instead of returning the error code, it returns !0 if it succeeds and 0 if it fails. I'll fix this too.
  2. You should be able to use spaces in the file string without problems ...
res = shellExecuteEx("open", "c:\\program files\\myapps\\special app.exe", ...) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu