Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

LTMM Error: No such interface supported
Started by FabianO at 10-09-2007 4:50. Topic has 4 replies.

Print Search « Previous Thread Next Thread »
  10-09-2007, 4:50
FabianO is not online. Last active: 11/13/2007 10:28:23 AM FabianO

Not Ranked
Joined on 09-24-2007
Posts 4
LTMM Error: No such interface supported
Reply Quote
Hi,

when executing the code below, a "System.InvalidCastException" exception is raised. The CSVideoConferencing demo application contains basically the same code but there it works. What am I missing?

        private void SetupRestrictions()
        {
            try
            {
                LMNetSnk sink = _ServerControl.GetSubObject((int) ltmmCapture_Object.ltmmCapture_Object_Sink) as LMNetSnk;

                if (sink != null)
                {
                    sink.RemoveAllRestrictions();
                    Marshal.ReleaseComObject(sink);
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }
        }


   Report 
  10-10-2007, 7:43
Adnan Ismail is not online. Last active: 8/14/2008 1:40:07 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,113
Re: LTMM Error: No such interface supported
Reply Quote

Is the _ServerControl object in your case of type ltmmCapture?
If not, you should not be using the value ltmmCapture_Object.ltmmCapture_Object_Sink.

If it is indeed a Capture control, can you send me a small test project (not your full application) that shows this error?
If you want to send the project, please put it in a ZIP or RAR file.


Adnan Ismail
LEADTOOLS Technical Support

   Report 
  10-10-2007, 8:32
FabianO is not online. Last active: 11/13/2007 10:28:23 AM FabianO

Not Ranked
Joined on 09-24-2007
Posts 4
Re: LTMM Error: No such interface supported
Reply Quote
I have sent an e-mail containing the test project to support@leadtools.com.

   Report 
  06-18-2008, 12:49
LoopyCoder is not online. Last active: 6/18/2008 12:15:17 PM LoopyCoder

Top 500 Posts
Joined on 09-12-2006
Posts 7
Re: LTMM Error: No such interface supported
Reply Quote
Was this issue resolved?  If yes, could you post the solution?
   Report 
  06-19-2008, 5:21
Adnan Ismail is not online. Last active: 8/14/2008 1:40:07 PM Adnan Ismail



Top 10 Posts
Joined on 07-31-2006
Posts 1,113
Re: LTMM Error: No such interface supported
Reply Quote
That problem was related to assigning True to the ltmmCapture.UseFrameRate property. That call caused the filter graph to be disconnected, and caused the sink to be removed. If your problem is different, please start a new thread and give full details about the issue you're facing, or start a new support ticket by sending an email to support@leadtools.com
Adnan Ismail
LEADTOOLS Technical Support

   Report 
Post
LEAD Support Fo... » Enduser » Capture & Conve... » LTMM Error: No such interface supported

Powered by Community Server, by Telligent Systems