ActiveX exe doesn't end... 
Author Message
 ActiveX exe doesn't end...

First off, some background.  I'm using VB6 SP4.  I have an ActiveX exe
(SrvProc) with Thread-Per-Object set.  I have an App that creates an
object (Manager) from SrvProc, which starts up a new process.  Using
CreateObject in SrvProc I create one or more additional threads.  When
the App closes, it explicitly calls a Shutdown method on the SrvProc
object, which frees all objects.  (Using MsgBoxes I can tell that the
Class_Terminate of all objects is being called).  The App then sets
the SrvProc object to Nothing and exits.  For some reason, SrvProc is
still running and must be killed through the Task Manager.  The odd
thing is if there is only ONE child thread created, then it shuts down
correctly.  If there are two or more, then it does not.  Anyone have
any ideas?


Sent via

Tue, 03 Jun 2003 03:19:21 GMT  
 [ 1 post ] 

 Relevant Pages 

1. End doesn't end

2. END Statement doesn't end program!

3. ActiveX EXE doesn't shut down when client terminates

4. ActiveX.exe /UNREGISTER doesn't work

5. ActiveX-Exe: .Value=True doesn't work while direct click on button works

6. dotnetfx.exe bootstrapper example setup.exe doesn't work

7. VB4 Application Setup Wizard doesn't include Racmgr32.exe or Autmgr32.exe

8. setup.exe doesn't run my setup1.exe

9. W2K Doesn't Load ActiveX Control But W98 and WXP Do Load ActiveX Control Correctly

10. Cancel button doesn't end macro

11. Setting application object to nothing doesn't end the process

12. End of File doesn't seem to work


Powered by phpBB® Forum Software