Autor Beitrag
Maniacmd
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 94

Windows XP
Delphi 7 Personal
BeitragVerfasst: Do 20.07.06 10:35 
hi
Ich rufe mit shell execute den media player auf. Da aber der Media Player nicht bei jedem im selben verzeichnis ist habe ich den Benutzer den Pfad in einem edit Fenster eingeben lassen. Wenn ich jetzt edit1.text in den shell execute befehl eingebe erhalte ich eine Fehlermeldung "inkompatible typen". Was kann man da machen?

mfg
Horschdware
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 744
Erhaltene Danke: 54

Win XP Pro, Win 7 Pro x64
Delphi 7, Delphi XE, C++ Builder 5, SAP R/3
BeitragVerfasst: Do 20.07.06 10:46 
Zeig mal ein Stück Code

[Glaskugel]
probier mal pchar(MeineVariable)
[/Glaskugel]

_________________
Delphi: XE - OS: Windows 7 Professional x64
Maniacmd Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 94

Windows XP
Delphi 7 Personal
BeitragVerfasst: Do 20.07.06 10:51 
mit pchar ging es danke