Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, August 14, 2006 12:39:08 AM(UTC)

vo_one  
vo_one

Groups: Registered
Posts: 1


Hi, Everybody

I'm trying to use Still Image Reader in my application, which's written entirely in C#/VS2005. It's created succesfullty by the default constructor, like this:
TStlImgRdClass stillIm = new LTStlImgRdClass();
But when I try to use it's properties, for example:
string str = stillIm.RegisteredExtensions;
the InvalidCastException is thrown. The exception message is here:
Unable to cast COM object of type 'LTStlImgRdLib.LTStlImgRdClass' to interface type 'LTStlImgRdLib.ILTStlImgRd'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{E2B7DD5B-38C5-11D5-91F6-00104BDB8FF9}' failed due to the following error: Interface is not supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).

Could you please tell me, how to solve the problem? Maybe, the filter is not registered? But I installed Lead Tools succesfully... And if it's so, how to register it correctly?
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, August 15, 2006 10:39:57 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

Was thanked: 1 time(s) in 1 post(s)

Hello,

If you try to use it as follows, do you get the same exception?
+---------------+
LTStlImgRdLib.LTStlImgRdClass stillIm = new LTStlImgRdLib.LTStlImgRdClass();
string str = stillIm.RegisteredExtensions;
+---------------+

Please let me know how it goes.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.057 seconds.