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 Nur eine bestimmte Anzahl von einem Prog. zulassen! (https://www.delphipraxis.net/5109-nur-eine-bestimmte-anzahl-von-einem-prog-zulassen.html)

ATwardz 24. Mai 2003 00:55


Nur eine bestimmte Anzahl von einem Prog. zulassen!
 
Habe nen Chat, bei dem es auch einzelchatfunktion gibt!
Will aber diese Einzelchats auf 3 beschrenken!

Frage!!!?!??!?!?!?

Wie kann ich verhindern das das Programm, ein Programm mehr als eine bestimmte Anzahl gestartet wird! Nur einmal starten is ja leicht aber wie funkst das mit 2-.... mal????????
Bitte hilfe!

@wardz :freak:

Luckie 24. Mai 2003 04:32

Kuck dir das mal an: Semaphore Objects.


Alle Zeitangaben in WEZ +1. Es ist jetzt 18:29 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