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

vmars vmars at rgv.rr.com
Wed Jan 28 01:02:44 CET 2009


Wild is good, but same results:

Unable to open file: "%COMSPEC%/c Del2Pas.bat" ErrorCode=0

ô¿ô
 V  e  r  n

WinXp sp2 ,  Delphi5, WebDwarf, Trellian WebPage, 
Lazarus-0.9.26-fpc-2.2.2-win32.exe,
wxPython2.8-win32-unicode-2.8.9.1-py26.exe , Boa 0.6.1
http://www.flickr.com/photos/vmars956/

Wanted: Dwarf Hibiscus (Orange/Rasberry)
----- Original Message ----- 
From: "Bart" <bartjunk64 at gmail.com>
To: "FPC-Pascal users discussions" <fpc-pascal at lists.freepascal.org>
Sent: Tuesday, January 27, 2009 8:00 AM
Subject: Re: [fpc-pascal] If ShellExecute(0, 'open', PChar(ExecuteName), '', 
'', 0) <= 32 Then


> 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
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list