ParallelGraphics Forums
SDK
You are here: [Forums]::[General]::[SDK]

Registration 
Registration
Forgot your password?

Help 
Help
Support

Quick search 

Subscribe to newsletters 

Install Cortona VRML Client for FREE!
Outline 3D
3D Page Of the Week
email:  password:
   General - SDK

Subject: Re: Calling CreateVrmlFromUrl from C#
Sender: tekkaya@gmail.com 9.02.09 08:46

I get the same exception and could not find a way to handle this. Any comments on this situation?
Thanks in advance.

Gokhan
When calling CreateVrmlFromUrl from C# (VS2005) I get an InvalidCastException for the second argument (ie. the callback function). My callback looks like this:
    public class callBackTest : VRMLAutomation.ICreateVrmlFromUrlCallback
    {
    public void Complete(string url, VRMLAutomation.IMFNodeObject nodes, VRMLAutomation.VRMLProtosCollection protos, string error)
    {
    }

    public void GetFlags(ref int a, ref int b)
    {
    }

    public void Progress(int tick)
    {
    }
    }


Any advice on what I am doing wrong here is greatly appreciated, also, any pointers to examples of usage from C# would be useful

Best regards
Jorgen


 


Calling CreateVrmlFromUrl from C# / jorgen.stang@dnv.com / 8.01.08 09:51
     Re: Calling CreateVrmlFromUrl from C# / tekkaya@gmail.com / 9.02.09 08:46
         Re: Calling CreateVrmlFromUrl from C# / fmartine / 29.03.11 19:36

Messages in thread: 3


© 1998-2009 ParallelGraphics. All rights reserved. Terms of use.