When the CCW is created it creates an interface and a class for each COM
coclass. Note that you declare your variable as the interface type and
create an instance of the actual class.
RocketEngine.Application objDeko = new RocketEngine.ApplicationClass();
RocketEngine.Scene myScene = objDeko.Scenes.Add("D:\1.dkc");
--
Bobby C. Jones
www.AcadX.com
"Lou" <lo********@comcast.net> wrote in message
news:OT****************@TK2MSFTNGP10.phx.gbl...
Here is My Code in VB, How do I translate this to C#
Dim objDeko As New RocketEngine.Application
Dim myScene As RocketEngine.Scene
Set myScene = objDeko.Scenes.Add("D:\1.dkc")