Hi,
I'm using Visual Basic 6, and using this code:
Sub Main()
Dim objMi As ImageMagickObject.MagickImage
Dim strTag As String
Set objMi = New ImageMagickObject.MagickImage
strTag = objMi.Identify("-format", "%b", "D:\Temp\example.jpg")
Set objMi = Nothing
End Sub
Executing the code above, I get this error on line 'strTag = ...':
Run-time error '-2147418113 (8000fff)':
Method 'Identify' of object 'IMagickImage' failed
Can anyone help me to solve this problem ?
Thanks in advance,
Mark
Method 'Identify' of object 'IMagickImage' failed
Re: Method 'Identify' of object 'IMagickImage' failed
Yes, early binding no longer works. See my post at
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far. I'll bump it, too, to see if I get a response.
viewtopic.php?f=3&t=14461
Feel free to reply to that one as I didn't get very far. I'll bump it, too, to see if I get a response.
Re: Method 'Identify' of object 'IMagickImage' failed
Spieler,
As you can see, in my example code, exactly the same code is used as you are proposing as a solution.
In short, your proposal/solution is not working too.
Mark
As you can see, in my example code, exactly the same code is used as you are proposing as a solution.
In short, your proposal/solution is not working too.
Mark
Re: Method 'Identify' of object 'IMagickImage' failed
Your code isn't exactly the same.
Change
Dim objMi As ImageMagickObject.MagickImage
to
Dim objMi
Apparently when both early and late binding is done, the early binding still causes problems.
Change
Dim objMi As ImageMagickObject.MagickImage
to
Dim objMi
Apparently when both early and late binding is done, the early binding still causes problems.