![]() |
mysqld.exe laden!
x := C:\wampp13a\mysql\bin\
y := mysqld.exe if ShellExecute(0, x, y, nil, nil, 9)< 33 then showmessage('Anwendung kann nicht geoeffnet werden '); Beim starten von meinen prog soll gleich auch mysql gestartet werden! Wo muß ich das hin schreiben, vor der implementation oder danach? |
Re: mysqld.exe laden!
dein Aufruf ist nicht korrekt!
Delphi-Hilfe verrät:
Code:
Shellexceute(0,nil,x+y.nil,nil,SW_SHOW);
HINSTANCE ShellExecute(
HWND hwnd, // handle to parent window LPCTSTR lpOperation, // pointer to string that specifies operation to perform LPCTSTR lpFile, // pointer to filename or folder name string LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters LPCTSTR lpDirectory, // pointer to string that specifies default directory INT nShowCmd // whether file is shown when opened ); So müßte es klappen. Mfg, Draco |
Re: mysqld.exe laden!
if ShellExecute(0, nil, 'C:\wampp13a\mysql\bin\mysqld.exe', nil, nil, 9)< 33 then showmessage('Anwendung kann nicht geoeffnet werden ');
Wo kommt das im Quellecode hin damit es beim starten des Programms gleich mit geladen wird? |
Re: mysqld.exe laden!
HI!
Pack es in FormCreate. Ciao fkerber |
Re: mysqld.exe laden!
Danke dir!
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 19:22 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