Jump to content

COM Template Delphi Problem


xck3001

Recommended Posts

Hallo,

 

ich würde gerne den DVBViewer von meiner Anwendung aus verwenden. Zu diesem Zweck habe ich mir das DVBViewer COM Template heruntergeladen.

 

Die Schnittstellendatei ist relativ einleuchtend, aber leider bekomme ich in der Beispiel Funktion "DVBViewer(): IDVBViewer" auch bei laufendem DVBViewer bei "Unknown.QueryInterface()" nur eine Pointer Exception.

 

Anscheinend wird "Unknown" bereits von GetActiveObject() als nil zurückgegeben?

 

Ich benutze den aktuellsten DVBViewer.

Link to comment

OK, hab die Lösung wohl selbst gefunden: Die TypeLibrary war veraltet. Habe eine neue erzeugt und jetzt gehts!

Bei Gelegenheit könnt ihr die ja mal online aktualisieren :)

 

Jetzt kanns ja losgehen...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...