Autor Beitrag
day
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 107



BeitragVerfasst: Mi 03.09.03 11:24 
hallo

wie krieg wandle ich einen String in einen PChar um?

ausblenden Delphi-Quelltext
1:
2:
TempStr   := ExtractFilePath( Application.EXEName ) + 'Terminal';
Result := FindWindow( nil, TempStr ) > 0;


TempStr muss ja ein PChar sein

Moderiert von user profile iconKlabautermann: Delphi-Tags hinzugefügt.
Eggi
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 33

Win 2000, Win XP
D7 Prof
BeitragVerfasst: Mi 03.09.03 11:31 
Hallo,

versuch mal:

ausblenden Delphi-Quelltext
1:
2:
TempStr := ExtractFilePath( Application.EXEName ) + 'Terminal'
Result := FindWindow( nil, PChar(TempStr) ) > 0;


Eggi

Moderiert von user profile iconKlabautermann: Delphi-Tags hinzugefügt.