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
Try RobinZone!
email:  password:
   General - SDK

Subject: Calling CreateVrmlFromUrl from C#
Sender: jorgen.stang@dnv.com 8.01.08 09:51

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

Messages in thread: 1


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