ShellExecute() terminates the program execution
Posted: Thu Sep 27, 2007 12:51 pm
Hi to all!
To call external programs (MSWord, Excel, Notepad, etc) in Windows XP,
I use ShellExecute() with no problems during the past years.
Lately in some machines, the FiveWin program just terminates in a ShellExecute() command line, with no error indications or logs at all.
If I reinstall the Windows XP, the problem disapears.
The customer gets very puzzled because only the FiveWin programs are affected.
In all cases, calling MSWord or Excel by OLE works normally.
Thanks in advance for sugestions.
Regards, Euclies
To call external programs (MSWord, Excel, Notepad, etc) in Windows XP,
I use ShellExecute() with no problems during the past years.
Lately in some machines, the FiveWin program just terminates in a ShellExecute() command line, with no error indications or logs at all.
If I reinstall the Windows XP, the problem disapears.
The customer gets very puzzled because only the FiveWin programs are affected.
In all cases, calling MSWord or Excel by OLE works normally.
Thanks in advance for sugestions.
Regards, Euclies