Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to use a Typelib?
#1
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
 
Code:
Copy      Help
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")
#2
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
Code:
Copy      Help
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)


Forum Jump:


Users browsing this thread: 1 Guest(s)