MediaInfo_Get not working in new version 0.7.64.0

gaamaa
2013-11-04
2013-11-05
  • gaamaa
    gaamaa
    2013-11-04

    I have been using MediaInfo.dll since ver 0.7.16.0
    I had no issues getting specific info from MediaInfo_Get method.
    But MediaInfo_Get() in the newer version (0.7.64.0) seems not working.
    Any changes made which I am missing ?

    Pls. have a look at the brief code which I use to get the specific info.

    Win7 64bit
    8GB RAM
    500 GB HDD
    nVidia GTX650

    Thanks in advance...
    gaamaa

    <Code>

    Private Declare Function MediaInfo_Get Lib "MediaInfo.dll" (ByVal Handle As Long, ByVal StreamKind As MediaInfo_stream_C, ByVal StreamNumber As Long, ByVal Parameter As Long, ByVal InfoKind As MediaInfo_info_C, ByVal SearchKind As MediaInfo_info_C) As Long

    Public Function MI_Get(ByVal Handle As Long, ByVal StreamKind As MediaInfo_stream_C, ByVal StreamNumber As Long, Parameter As String, ByVal InfoKind As MediaInfo_info_C, ByVal SearchKind As MediaInfo_info_C) As String
    MI_Get = bstr(MediaInfo_Get(Handle, StreamKind, StreamNumber, StrPtr(Parameter), InfoKind, SearchKind))
    End Function

    Public Property Let FileName(ByVal New_FileName As String)

    mFileName = New_FileName
    mHandle = MI_New()
    Call MI_Open(mHandle, mFileName)
    
    'LET US POPULATE SOME VARS
    mStreamKind = MI_Get(mHandle, MediaInfo_Stream_General, 0, "StreamKind", MediaInfo_Info_Text, MediaInfo_Info_Text)
    

    End Property

    </Code>

     
    Last edit: gaamaa 2013-11-04
  • There is no change in the binary API in the 0.7.x branch.
    I don't have the time to test myself, but I expect that moving from 0.7.16 to 0.7.64 is not a problem, at least at the API level.