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
|
|