![]() |
Fehler bei rückgabe
Das Interface
Delphi-Quellcode:
Bei der abfrage für den PluginName gibt es einen AV.
IAIMP2VisualPlugin = interface
function AuthorName: PWideChar; stdcall; function PluginName: PWideChar; stdcall; function PluginInfo: PWideChar; stdcall; function PluginFlags: DWORD; stdcall; function Initialize: BOOL; stdcall; procedure Deinitialize; stdcall; procedure DisplayClick(X, Y: Integer); stdcall; procedure DisplayRender(DC: HDC; AData: PVisualData); stdcall; procedure DisplayResize(AWidth, AHeight: Integer); stdcall; end; PAIMPVisualProc = ^IAIMP2VisualPlugin; TAIMPVisualProc = function: IAIMP2VisualPlugin; stdcall;
Delphi-Quellcode:
var
VisInfo : PAIMPVisInfo; VisPointer : PAIMPVisualProc;
Delphi-Quellcode:
warum?
VisInfo := PAIMPVisInfo(Handle);
Result := VisInfo^.VisPointer^.PluginName; jemand ne Idee? gruss Emil |
Re: Fehler bei rückgabe
Was passiert in der Implementierungsklasse des Interfaces?
|
Re: Fehler bei rückgabe
Zitat:
Ok Danke hat sich erledigt habe eine deklaration falsch ausgelegt. gruss Emil |
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:48 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