Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi MessageBox Problem (https://www.delphipraxis.net/79169-messagebox-problem.html)

Progger2005 17. Okt 2006 15:18


MessageBox Problem
 
Hallo!

mit folgenden Code will ich eine MEssageBox öffnen

Delphi-Quellcode:
Application.MessageBox(Pswd,'Passwortkontrolle',MB_OK);
Pswd ist eine StringVariable und daran meckert er rum mit irgendwas von PAnsiChar

Wer kann mir weiterhelfen??

Danke

Progger2005

agm65 17. Okt 2006 15:21

Re: MessageBox Problem
 
versuch mal

Delphi-Quellcode:
Application.MessageBox(pchar(Pswd),'Passwortkontrolle',MB_OK);

Progger2005 17. Okt 2006 15:26

Re: MessageBox Problem
 
Danke es geht


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