What type of multi-threading does VB6 implement?

Answers were Sorted based on User's Feedback



What type of multi-threading does VB6 implement?..

Answer / guest

Apartment model threading

Is This Answer Correct ?    5 Yes 0 No

What type of multi-threading does VB6 implement?..

Answer / sandeep

apartment threading and single threading. by vb works on
apartment threading, completely not support to single
threading.

Is This Answer Correct ?    2 Yes 1 No

What type of multi-threading does VB6 implement?..

Answer / manish

If you've so much as cracked a book on COM, you've undoubtedly come across the term apartment, which describes the constructs in which COM objects are created. If you're unfamiliar with this concept, the often-used analogy of an apartment building may help to clarify.
If you think of the building as an application's process, each apartment is a distinct area in which a COM object can be created. As with the more tangible kind of apartment, a COM apartment is a fairly self-contained unit that shares some similarities with other apartments in the same building/process. But just as there may be lofts, studios, and 2- or 3-bedroom apartments in the same building, there can also be different types of COM apartments within a process. Apartments may also be vacant or have any number of people/objects living in them.
It may be helpful to remember a few key points about COM apartments:
An apartment is not a thread. The one-to-one relationship between threads and single-threaded apartments may lead you to believe that the two terms are interchangeable—they are not.
An object is not an apartment. Objects are created in apartments.
A particular instance of an object can belong to only one apartment.
An apartment's concurrency model, whether it is single-threaded or multi-threaded, cannot be changed after it is created.
A process can have zero or more single-threaded apartments—one for each thread that calls CoInitialize.
A process has one multi-threaded apartment or none at all—all threads that call CoInitializeEx with COINIT_MULTITHREADED share the same apartment.

From microsoft

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Visual Basic Interview Questions

what are the Default cursor Type and LockEdit type in DAO?

0 Answers  


How many max. number of controls can place in one form (especially visual basic form)?

6 Answers   Satyam,


What was introduced to Visual Basic to allow the use of Callback Functions?

1 Answers  


Explain about arrays?

0 Answers  


___ is the control used to call a windows application.

0 Answers  






What is the difference between a PictureBox and Image control?

3 Answers  


What is controls in vb?

0 Answers  


How to find size of the file. Which method or function is used to occomplish this?

1 Answers  


I want to develop a stand alone application which can communicate with the existing applications in the system. On which this application should be based on: Standard Exe, Active-X Exe, Active-X Dll.

2 Answers  


what is the meaning of cts company logo?..

1 Answers   CTS,


I get a "file not found" error on the IIF function when I distribute by program. Why?

0 Answers  


what are the Differences between ActiveX Exe and Dll?

2 Answers  


Categories