![]() |
To know when the TE process has finished |
Post Reply
|
| Author | |
DHURAY
Skyline Government/Military Customers
Joined: April 01 2004 Location: Spain Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: To know when the TE process has finishedPosted: 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 |
|
![]() |
|
Donald
Visitor
Joined: May 30 2008 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Eylon
Skyline Admin Group
Joined: May 05 2003 Location: Israel Status: Offline Points: 263 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
DHURAY
Skyline Government/Military Customers
Joined: April 01 2004 Location: Spain Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Eylon
Skyline Admin Group
Joined: May 05 2003 Location: Israel Status: Offline Points: 263 |
Post Options
Thanks(0)
Quote Reply
Posted: June 05 2008 at 7:09pm |
|
|
|
|
Eylon
|
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |