Click here to Skip to main content
16,016,345 members
Home / Discussions / COM
   

COM

 
GeneralShell Extension: how to hook to directory Pin
chenfred29-Jun-05 5:31
chenfred29-Jun-05 5:31 
GeneralRe: got answer Pin
chenfred29-Jun-05 7:33
chenfred29-Jun-05 7:33 
GeneralRe: Shell Extension: how to hook to directory Pin
alex__b4-Jul-05 6:41
professionalalex__b4-Jul-05 6:41 
GeneralOutlook application object - Calendar Pin
Brigg Thorp29-Jun-05 3:04
Brigg Thorp29-Jun-05 3:04 
Generaladding visual studio 6 dll to c# app Pin
johniboy28-Jun-05 23:14
sussjohniboy28-Jun-05 23:14 
GeneralRe: adding visual studio 6 dll to c# app Pin
stonewall_20001-Jul-05 0:08
stonewall_20001-Jul-05 0:08 
General7000vDatabase COM Threads Pin
FJK28-Jun-05 19:25
FJK28-Jun-05 19:25 
GeneralRe: 7000vDatabase COM Threads Pin
rwestgraham1-Jul-05 17:01
rwestgraham1-Jul-05 17:01 
This is just not feasible, unless you are talking about creating 7000 threads across an array of at least 200 CPUs or so. Smile | :)

Connection times are the least of your worries.

On WINTEL systems, one CPU = ONE ACTIVE THREAD at any given time.

Multiple threads are queued across time slices - each thread is allowed to run for maybe 20 ms or so then the CPU switches to the next thread in the queue. You can only create so many threads (not many actually) before you overload the system.

Assuming you could create 7000 threads on a CPU (you can't - not even close) then just to go through the entire rotation to allow each one to run for a SINGLE 20 ms timeslice would take 140 seconds, not counting thread switching overhead.

Not that you could ever get there anyway. Every time you create a new thread, the system allocates stack space, among other things to the thread. You'll run out of memory and kernel resources a long time before you get even close to creating 7000 threads.

Think in terms of something that is actually doable - like maybe 15 threads on a single CPU.
GeneralRe: 7000vDatabase COM Threads Pin
FJK3-Jul-05 18:45
FJK3-Jul-05 18:45 
GeneralXMLDOMDocument across processes Pin
Alex_Y28-Jun-05 6:28
Alex_Y28-Jun-05 6:28 
GeneralRe: XMLDOMDocument across processes Pin
Alex_Y28-Jun-05 9:23
Alex_Y28-Jun-05 9:23 
GeneralRe: XMLDOMDocument across processes Pin
Lim Bio Liong28-Jun-05 14:27
Lim Bio Liong28-Jun-05 14:27 
GeneralBrowser Helper Object - replace HTML page Pin
Tomek.Sergey28-Jun-05 3:04
Tomek.Sergey28-Jun-05 3:04 
Generalenum in COM Pin
Logan from Singapore26-Jun-05 22:31
Logan from Singapore26-Jun-05 22:31 
GeneralRe: enum in COM Pin
GuimaSun27-Jun-05 5:42
GuimaSun27-Jun-05 5:42 
GeneralInternet Explorer hooks Pin
Ryan333326-Jun-05 9:52
Ryan333326-Jun-05 9:52 
GeneralWebBrowser Control used as a FileManager Pin
intripoon26-Jun-05 8:39
intripoon26-Jun-05 8:39 
GeneralRe: WebBrowser Control used as a FileManager Pin
intripoon27-Jun-05 5:43
intripoon27-Jun-05 5:43 
GeneralShell extension. Pin
Member 134788323-Jun-05 15:30
Member 134788323-Jun-05 15:30 
GeneralRe: Shell extension. Pin
chenfred29-Jun-05 5:22
chenfred29-Jun-05 5:22 
GeneralTimer with Windowless Control Pin
Shraddhan23-Jun-05 12:42
Shraddhan23-Jun-05 12:42 
GeneralRe: Timer with Windowless Control Pin
Jörgen Sigvardsson26-Jun-05 6:04
Jörgen Sigvardsson26-Jun-05 6:04 
GeneralRe: Timer with Windowless Control Pin
Shraddhan26-Jun-05 12:57
Shraddhan26-Jun-05 12:57 
GeneralRe: Timer with Windowless Control Pin
Jörgen Sigvardsson27-Jun-05 10:18
Jörgen Sigvardsson27-Jun-05 10:18 
Generalchar** to VARIANT Pin
bvais23-Jun-05 11:01
sussbvais23-Jun-05 11:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.