On Tue, 4 Sep 2001 11:24:05 +1200, you wrote:

>Winexec takes the applicatoin name as a pChar so you need to cast your
>delphi string to a windows pChar i.e
>WinExec(pChar(drive+'apps\myapps\setup.exe'), SW_ShowNormal);
>
thanx a lot for ur help  paul, james and robert
i had tried everything but what was suggested.

...
   Brendon Toogood

E-Mail [EMAIL PROTECTED]
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to