[fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', '', 0) <= 32 Then

Bart bartjunk64 at gmail.com
Tue Jan 27 15:00:09 CET 2009


Is the problem that you don't see output from del2pas.bat? or is it
not executed at all (and how do you know this)?


If the problem is the first, that may be so because in a .lnk you
specify that the file needs a console, and just running the .bat ma
prevent it frome getting a console?
Put in your del2pas.bat a line like starts a GUI program like
notepad.exe and see if it is launched, that would tell you definitely
if the problem is having assigned a console or not.

(Just a wild guess)

Bart



More information about the fpc-pascal mailing list