MSWEBDVD - Unit???
Habe ein Problem will eine Unit schreiben die auf die MSWEBDVD.dll aufsetzt, wie man diese einbindet und welche Methoden was tun weiß ich schon aber ich hab Probleme das in eine Unit einzubinden auf die ich dann zugreife!!
Delphi-Quellcode:
Ich binde diese Unit dann in meiner DVDPlayer-Unit ein aber er findet die procedure play nicht was mache ich falsch??
unit uMSWEBDVD;
interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MSWEBDVDLib_TLB; implementation procedure play(DVD: TMSWebDVD); begin DVD.DVDDirectory := 'E:\VIDEO_TS\'; DVD.Play; end; end. Bitte helft mir! |
Re: MSWEBDVD - Unit???
Du musst die Prozedur noch im interface-Abschnitt deklarieren:
Delphi-Quellcode:
PS: Mit Multimedia hat das ja eigentlich nichts zu tun, eher Pascal allgemein.
unit uMSWEBDVD;
interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MSWEBDVDLib_TLB; procedure play(DVD: TMSWebDVD); implementation procedure play(DVD: TMSWebDVD); begin DVD.DVDDirectory := 'E:\VIDEO_TS\'; DVD.Play; end; end. |
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:07 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz