Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi ShellExecute + TMemo ? (https://www.delphipraxis.net/124661-shellexecute-tmemo.html)

milos 22. Nov 2008 16:23


ShellExecute + TMemo ?
 
Immer mache ich etwas falsch... Jetzt ist es ohne if und then nur so... Aber es sagt etwas wegen PCHAR und String

Delphi-Quellcode:
ShellExecute(Handle, 'open', Memo1.Lines.Strings[1], nil, nil, SW_SHOW);

DeddyH 22. Nov 2008 16:29

Re: ShellExecute + TMemo ?
 
Delphi-Quellcode:
ShellExecute(Handle, 'open', PChar(Memo1.Lines[1]), nil, nil, SW_SHOW);

milos 22. Nov 2008 16:56

Re: ShellExecute + TMemo ?
 
Danke jetzt geht es :D


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:04 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz