Advertisement
2002ASP OLE/ COM/ DCOM/ Active-X #5407

Thread Server

This is an example based on the technique of using ActiveX EXE components to multithread. This code shows how to multithread without the need of a form and timer control, and also without the need of events (which are slow and no good when you want to thread a dynamic number of objects. The trick is to implement an interface). This example code is programmed in a very short amount of time, so have understanding if you find the it a bit sloppy. I think that I don't lie when I say that you will have a hard time finding a VB multithread example (that actually works) with fewer lines of code!! Instructions: Compile the ThreadServer project. Open the "Client" project, add a reference to the "threadServer" COM object and run the client. -Good luck

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine