Autor Beitrag
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Mo 28.07.03 16:34 
Hallo,

dann mal statt:
ausblenden Delphi-Quelltext
1:
PChar('Name')					

das hier probieren:
ausblenden Delphi-Quelltext
1:
MakeIntResource(1)					

_________________
Life is a bad adventure, but the graphic is really good!
Cruiser23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 191

WinXP
D7 Prof.
BeitragVerfasst: Mo 28.07.03 16:40 
Jetzt tut es das ding doch :!: Und das weil es bei mir scheinbar schon mit der deklaration "AVI" geht! Denn bei RcData muckter un so (AVI) nich!
Das is meine momentane .rc ...:
ausblenden Quelltext
1:
2:
3:
4:
MAIN ICON "H:\Delphi\Projects\FileReName\Data\Main.ico"
1 WAVE "H:\Delphi\Projects\FileReName\Data\Verzeichniss.wav"
2 WAVE "H:\Delphi\Projects\FileReName\Data\Endung.wav"
3 AVI "H:\Delphi\Projects\FileReName\Data\Search.avi"


...nd so lade ich:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
    //AVI aus Data.res laden...
    AnimationAni.ResID := 3;
    AnimationAni.ResHandle := HInstance;
    //... und starten
    AnimationAni.Play(1,8,0)
Wie gesagt: es funtz nu! Trozdem danke für den Beistand!

_________________
Du steckst immer in der Sch****, das einzige, was sich ändert, ist die Tiefe!
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Mo 28.07.03 18:17 
Hallo,

faszinierend! Könntest du mir dn Gefallen tun, das ganze nochmal in RCDATA umzubenennen und nochmal zu probeiren? Das würde mich jetzt interessieren, ob es wirklich an "RCDATA" lag oder nur'n Compilerfehler war!

_________________
Life is a bad adventure, but the graphic is really good!
Cruiser23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 191

WinXP
D7 Prof.
BeitragVerfasst: Di 29.07.03 14:24 
Auf deinen Wunsch:

ausblenden Quelltext
1:
2:
3:
4:
MAIN ICON "H:\Delphi\Projects\FileReName\Data\Main.ico"
1 WAVE "H:\Delphi\Projects\FileReName\Data\Verzeichniss.wav"
2 WAVE "H:\Delphi\Projects\FileReName\Data\Endung.wav"
3 RCDATA "H:\Delphi\Projects\FileReName\Data\Search.avi"


Und schon wieder:

ausblenden Quelltext
1:
Im Projekt xxx.exe ist eine Exception der Klasse Exception.Meldung: 'AVI kann nicht geöffnet werden'. ...					


Selber Fehler wie vorher. Schein also an der deklaration zu liegen!

_________________
Du steckst immer in der Sch****, das einzige, was sich ändert, ist die Tiefe!
Andreas Pfau
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 997



BeitragVerfasst: Di 29.07.03 15:05 
Hallo,

Danke für deine Mühe! Aber schon komisch, dass es mit aVI nicht geht, obwohl es ja als RCDATA behandelt wird.

_________________
Life is a bad adventure, but the graphic is really good!
Cruiser23
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 191

WinXP
D7 Prof.
BeitragVerfasst: Di 29.07.03 20:45 
Warum hast du denn geschrieben, das AVI nicht geht? Welche Delphiver. hast du, vieleicht macht das was aus! Ansonsten schnapp dir ne kleine *.avi und bind sie bei dir mal beide ein! Wirst dann ja sehen, obs auch bei dir so geht/nicht geht!

_________________
Du steckst immer in der Sch****, das einzige, was sich ändert, ist die Tiefe!