![]() |
MSAgent Annimationen auflisten
Hallo,
ich habe ein Problem beim Auflisten der möglichen Annimationen. Ich verwende folgende Code
Delphi-Quellcode:
Wenn ich den Source mit D5 compiliere läuft die Sache einwandfrei. Verwende ich jedoch D7 erzeugt der
Merlin : IAgentCtlCharacterEx;
... procedure TFormMerlin.AgentAnimationEnum(L : TStrings); var AEnum : IEnumVariant; AnimationNames : IAgentCtlAnimationNames; Fetch : Cardinal; V : OleVariant; begin AEnum:=Merlin.AnimationNames.Enum as IEnumVariant; AEnum.Reset; L.Clear; Repeat AEnum.Next(1,V, Fetch); If VarToStr(V) <> EmptyStr then L.Add(V); Until Fetch = 0; end; Aufruf von
Delphi-Quellcode:
folgenden Fehler.
AEnum:=Merlin.AnimationNames.Enum as IEnumVariant;
Code:
Das Problem ist, das Merlin.AnimationNames ins Leere zeigt.
Zugriffsverletzung bei der Adresse FFFFFFF
Kennt jemand eine Lösung für D7? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:56 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz