ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
Subject:
Re: C# and ActiveX
Sender:
neil.danson@gmail.com
27.02.06 08:26
It would appear that the problem is that the Engine menber isnt initialised until the Scene is loaded, so attaching an event to that and having some code like
private void axCortona1_OnSceneLoaded(object sender, AxCortonaVRMLClientLibrary._CortonaEvents_OnSceneLoadedEvent e)
{
if (axCortona1.Scene != "")
{
engine = (VRMLAutomation.IEngine)axCortona1.Engine;
}
}
Should work a treat ;)
Hope this helps anyone else with same/similar problem!
Neil
Hi - this is probably a really simple problem, but I cant seem to fix it, so i was hoping that someone here has had the same issue and can help :)
I have imported the ActiveX control into my toolbox in Visual Studio (2003 and 2005), dropped the control and laoded a scene no problems. However if i ever try to access the Engine property I get
"An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in axinterop.cortonavrmlclientlibrary.dll
Additional information: Unspecified error"
and if i inspect the member in the IDE i get
"<error: an exception of type: {System.Runtime.InteropServices.COMException} occurred>"
I have included ALL the parallel Graphics references I have on my system in the references, but still no joy.
Has anyone else had this problem and if so could you please help.
Many thanks
Neil
[reply]
[back to forum]
[new message]
[all forums]
C# and ActiveX
/
n.danson@lbs-ltd.com
/ 23.02.06 04:45
Re: C# and ActiveX
/
neil.danson@gmail.com
/ 27.02.06 08:26
Re: C# and ActiveX
/
kannan62k@yahoo.com
/ 15.05.06 07:10
Messages in thread:
3
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.