![]() |
FindWindow unter Windows XP PRO
Delphi-Quellcode:
:wall: das programm startet nicht! Warum?
program Project1;
uses Forms, Windows, Unit1 in 'Unit1.pas' {Form1}; {$R *.res} begin Application.Initialize; If FindWindow('TForm1', 'Form1') <> 0 Then Application.terminate; Application.CreateForm(TForm1, Form1); Application.Run; end. FindWindows hat ein Wer <> 0 obwhol, es kein gleiches Programm in Hintergrund gibt! |
Re: FindWindow unter Windows XP PRO
Moin Karstadt,
mach' mal Delphi zu bevor Du das Programm startest. Dann sollte es gehen, denn in der IDE hast Du meist auch ein Formular Form1 vom Typ TForm1. |
Re: FindWindow unter Windows XP PRO
:oops: danke!
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:55 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