www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe Enterprise Products > TerraExplorer for Developers
  New Posts New Posts RSS Feed - To know when the TE process has finished
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

To know when the TE process has finished

 Post Reply Post Reply
Author
Message
DHURAY View Drop Down
Skyline Government/Military Customers
Skyline Government/Military Customers
Avatar

Joined: April 01 2004
Location: Spain
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote DHURAY Quote  Post ReplyReply Direct Link To This Post Topic: To know when the TE process has finished
    Posted: April 18 2006 at 10:27am

We're using TE ActiveX to embed the viewer on a HTML page. We offer a simple viewer, enough to most people to see a 3D Model.

We want to give the user the option to use the TE Basic viewer, much more useful, putting a link on the HTML page to the FLy file. It doesn't works because TE cannot be in more than one instance.

Is there any way to destroy the ActiveX objects (an the process in memory with it) from code to open the TE Basic viewer instead?

Thanks

Back to Top
Donald View Drop Down
Visitor
Visitor


Joined: May 30 2008
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote Donald Quote  Post ReplyReply Direct Link To This Post Posted: June 03 2008 at 7:26am

TE can be in more than one instance ,but in different process space .

because it is a in-process server.
When you use Release() of the main com object,its count value would
decrease by 1,when the count value is equal to zero,the memory will be
free and the object would be destroyed.


Edited by Donald - June 03 2008 at 7:27am
Back to Top
Eylon View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: May 05 2003
Location: Israel
Status: Offline
Points: 263
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eylon Quote  Post ReplyReply Direct Link To This Post Posted: June 05 2008 at 4:44pm

How about opening a new browser window and closing the one containing the ActiveX from code. On the new browser simply add a link to a FLY and it will open in TE by assosiation.

Eylon
Back to Top
DHURAY View Drop Down
Skyline Government/Military Customers
Skyline Government/Military Customers
Avatar

Joined: April 01 2004
Location: Spain
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote DHURAY Quote  Post ReplyReply Direct Link To This Post Posted: June 05 2008 at 5:23pm

Let me remember how we solutioned the problem, because it is from 2004

It's necesary to put a delay after closing ActiveX and before TE Basic opening. TE process is not killed inmediatly and in case it is still alive TE windows does not open.
 
It's all I can remember after 4 years!
 
Thanks for your help
Back to Top
Eylon View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: May 05 2003
Location: Israel
Status: Offline
Points: 263
Post Options Post Options   Thanks (0) Thanks(0)   Quote Eylon Quote  Post ReplyReply Direct Link To This Post Posted: June 05 2008 at 7:09pm
Big%20smile
Eylon
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.047 seconds.