Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #8233
| From | "Jamal Assaf" <someone@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: ShellExecute works one time and then only again after re-entering the program |
| Date | 2015-06-23 11:53 -0400 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mmbvds$3vv$1@speranza.aioe.org> (permalink) |
| References | <ihminadbcjcefec7tnuqbcblqtjs7q63p9@4ax.com> |
Try this:
ShellExecute(NULL, String2Psz("open"), String2Psz("MyVulcanProgram.exe"),
NULL, String2Psz(cPath), SW_SHOW)
Note: the path is provided in the lpDirectory parameter. This is what I do.
instead of
ShellExecute(NULL,String2Psz("open"),String2Psz(cPath+"MyVulcanProgram.exe"),NULL,String2Psz(WorkDir()),
NULL,SW_SHOWNORMAL)
Jamal
"D.J.W. van Kooten" wrote in message
news:ihminadbcjcefec7tnuqbcblqtjs7q63p9@4ax.com...
From time to time I encounter ShellExecute problems with isoaled
cases. For one client, ShellExecute starting a Vulcan executable works
one time (it starts the exe as we can see from the log from that exe).
The second time the users runs that code the Vulcan exe appears not to
start and also some logging activity further in that routine from the
VO program stops (these are some unconditional entries which then
stopped appearing, using FWriteText).
Only after re-entering the VO program it works again, one time.
The call is:
ShellExecute(NULL,String2Psz("open"),String2Psz(cPath+"MyVulcanProgram.exe"),NULL,
NULL,SW_SHOWNORMAL)
It looks like this happens for one user only but I have not yet found
out what is different for that user.
Anyone who has an idea?
Dick
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-11 12:04 +0200
Re: ShellExecute works one time and then only again after re-entering the program "Marc Verkade [MITCon]" <marc@mitNOSPAMconDELETE.nl> - 2015-06-11 18:00 +0200
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-11 22:58 +0200
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-18 17:02 +0200
Re: ShellExecute works one time and then only again after re-entering the program Karl Faller <mail_withoutthat_@_drei-f_andthat_.de> - 2015-06-11 23:37 +0200
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-18 17:00 +0200
Re: ShellExecute works one time and then only again after re-entering the program sherlocksoftware@gmail.com - 2015-06-19 04:17 -0700
Re: ShellExecute works one time and then only again after re-entering the program "Jamal Assaf" <someone@example.com> - 2015-06-19 15:14 -0400
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-22 08:54 +0200
Re: ShellExecute works one time and then only again after re-entering the program "Jamal Assaf" <someone@example.com> - 2015-06-23 11:53 -0400
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-24 17:01 +0200
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-25 20:31 +0200
Re: ShellExecute works one time and then only again after re-entering the program Steve E <steven_emmett@yahoo.co.uk> - 2015-06-25 23:22 -0700
Re: ShellExecute works one time and then only again after re-entering the program D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-06-26 10:18 +0200
Re: ShellExecute works one time and then only again after re-entering the program Steve E <steven_emmett@yahoo.co.uk> - 2015-06-26 03:06 -0700
Re: ShellExecute works one time and then only again after re-entering the program "Jamal Assaf" <someone@example.com> - 2015-06-26 10:35 -0400
csiph-web