Posts: 5
Threads: 3
Joined: Nov 2020
Hello, I'm trying to use a MediaInfo typelib but it keeps giving me an error "Class not Registered", I'm doing something wrong or it's not possible to use in QM.
https://github.com/MediaArea/MediaInfoLi...ctiveX.dll
typelib MediaInfo2 {0565A1AC-ED89-11DA-BA27-E0738ABD8F60} 1.0
MediaInfo2.ActiveX m._create
int x = m.MediaInfo_New
m.MediaInfo_Open(x "D:\File.mp4")
Posts: 12,095
Threads: 142
Joined: Dec 2002
12-06-2021, 06:53 AM
(This post was last modified: 12-06-2021, 07:02 AM by Gintaras.)
It requires another dll file - MSVBVM50.DLL. It is Visual Basic 5 runtime, and Windows does not have it, but it can be downloaded from many places.
https://www.google.com/search?q=download+MSVBVM50.DLL
Download and unzip to the 32-bit system folder, probably C:\Windows\SysWOW64.
Also need file MediaInfo.dll.
Macro
Macro3184
typelib MediaInfo2 "Q:\Downloads\MediaInfoActiveX.dll"
MediaInfo2.ActiveX m._create
int x = m.MediaInfo_New
BSTR file="D:\File.mp4"
m.MediaInfo_Open(x file)