470,619 Members | 1,587 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,619 developers. It's quick & easy.

ActiveX EXE showing in Task Manager when multi threaded

I have been running into an issue that I just cant figure out. I have created an ActiveX EXE and in the Project Properties I have the Thread Model set to Thread Pool = 1. If I create an instance of this object I do not see the ActiveX component in the Applications list of the Task Manager. NOW, if I switch the Thread Model to Thread per Object or increase the Thread Pool to greater than 1, I see the ActiveX EXE in the Application list of the Task Manager.

I do not want to see ActiveX EXE listed in the Application list of the Task Manager and I would like to use a thread per object. Does anyone know why it shows up and how to get rid of it?

And I do not have an interface that would make it show up and I have the App.TaskVisible = False, as can be seen when I have the Thread Pool set to 1.

Nick Koranda
Oct 12 '06 #1
1 2320
For some reason a multithreaded ActiveX EXE makes a window that is considered shown (i.e. an interface) and thus is displayed in the Application tab of Task Manager. You can hide it from the Task Manager by hiding ALL windows in the EXE.
Oct 12 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by AnalogKid | last post: by
2 posts views Thread by Martin Baker | last post: by
7 posts views Thread by Doug Thews | last post: by
5 posts views Thread by Dan | last post: by
2 posts views Thread by Robert McEuen | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.