15 мая 2023 года "Исходники.РУ" отмечают своё 23-летие!
Поздравляем всех причастных и неравнодушных с этим событием!
И огромное спасибо всем, кто был и остаётся с нами все эти годы!

Главная Форум Журнал Wiki DRKB Discuz!ML Помощь проекту


Apartment Model Threading and MFC Example

Marc H. Simkin -- mhsimkin@yorick.ny.cybernex.net
Sunday, May 19, 1996

Environmnet: NT 3.51 SP4 / VC 4.1

Does anyone have any sample code showing the changes that need to be
made to an App Wizard generated application in order to support
apartment model threading?  I have the oleapt.cpp example for the VC++
CD as well as Don Box's articles.  I am just a little bit lost as to
what changes need to be made.  Any help would be appreciated.

The technote that comes with VC 4.1 is wrong.  


Thanks

Marc
+---------------------------------------------------------------------+
| Marc H. Simkin            Internet: mhsimkin@yorick.ny.cybernex.net |
| 630 West 246th Street               marc.simkin@BankersTrust.com    |
| Apt 1020                  CIS:      72401,57                        |
| Riverdale, NY 10471       Home:     (718) 796 4486                  |
|                           Office:   (212) 250 7120                  |
+---------------------------------------------------------------------+



Dan Kirby -- dkirby@accessone.com
Monday, May 20, 1996

[Mini-digest: 2 responses]

KB Article Q150100 talks about the fact that the technote is incorrect.  KB 
Article Q150199 talks about how one goes about setting the register to 
specify apartment model.

--dan

-----From: Mark Kramer 

 > The technote that comes with VC 4.1 is wrong.  

Technote 64 covering "Apartment-Model threading in OLE Controls" slipped
into the 
VC 4.1 product but the code was yanked at the last minute and will
appear in the VC 4.2 product.





| Вернуться в корень Архива |