The problem I am seeing is that using the reference is no longer working the way it used to.
On 6.3.6, both Command1 and Command2 work.
On 6.5.4, only Command2 works. Command1 returns
-2147418113:Method 'Identify' of object 'IMagickImage' failed
(This looks a little strange with the I in front of MagickImage)
In short, it looks like the early binding is no longer working, but late binding is. Is this working as intended?
Thanks,
Gary
Code: Select all
Private Sub Command1_Click()
On Error GoTo ErrorHandler
Dim omi As New ImageMagickObject.MagickImage
MsgBox (omi.Identify("-format", "%m", "rose:"))
Exit Sub
ErrorHandler:
MsgBox (Err.Number & ":" & Err.Description)
End Sub
Private Sub Command2_Click()
On Error GoTo ErrorHandler
Dim omi
Set omi = New ImageMagickObject.MagickImage
MsgBox (omi.Identify("-format", "%m", "rose:"))
Exit Sub
ErrorHandler:
MsgBox (Err.Number & ":" & Err.Description)
End Sub