Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi konsole anwendung und shell api (https://www.delphipraxis.net/24900-konsole-anwendung-und-shell-api.html)

agm65 28. Jun 2004 13:20


konsole anwendung und shell api
 
hi leute ...hab folgendes problem ..ich möchte die shellapi in meinem konsolen tool verwenden !

Code:
uses: shell api

ShellExecute(handle , nil , PChar('c:\windows\wmxdj32.ax'), nil, nil, SW_SHOW);
jetzt sagt er mir: undefinierter bezeichner "handle"

danke für hilfe

supermuckl 28. Jun 2004 13:21

Re: konsole anwendung und shell api
 
nimm 0

Christian Seehase 28. Jun 2004 13:21

Re: konsole anwendung und shell api
 
Moin agm,

dann schreib doch statt dessen eine 0 da rein.
Da Du kein Parent Window hast geht es ja auch nicht anders.

agm65 28. Jun 2004 13:22

Re: konsole anwendung und shell api
 
ja danke..ich bin noch besoffen von gestern ! thx cu


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

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