Click here to Skip to main content
15,899,935 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralI need a good ATL book; Common Controls and Active X Pin
Stormwind3-Aug-03 21:44
Stormwind3-Aug-03 21:44 
GeneralRe: I need a good ATL book; Common Controls and Active X Pin
valikac4-Aug-03 9:30
valikac4-Aug-03 9:30 
GeneralRe: I need a good ATL book; Common Controls and Active X Pin
Stormwind4-Aug-03 15:43
Stormwind4-Aug-03 15:43 
GeneralConverting ATL example from vs7 to vc++6 Pin
paully3-Aug-03 5:26
paully3-Aug-03 5:26 
GeneralATL Registration in win98 Pin
zxb888888881-Aug-03 23:53
zxb888888881-Aug-03 23:53 
GeneralRe: ATL Registration in win98 Pin
Andrew Walker2-Aug-03 12:12
Andrew Walker2-Aug-03 12:12 
GeneralRe: ATL Registration in win98 Pin
zxb888888882-Aug-03 14:28
zxb888888882-Aug-03 14:28 
GeneralATL - invoke an event in a diffrent thread Pin
Arik Poznanski1-Aug-03 6:08
Arik Poznanski1-Aug-03 6:08 
When you use events with ATL, the default implementation of the Fire_XXX function is to to loop thru the clients list and invoke the event. the problem is that the client might hang when the event is called, so it will not return, and the hole atl server is stuck until you release the client.
This is not an acceptable situation. So what I've done is a try to do the invokation of the event in a diffrent thread for each client. It works most of the times, but some times it hangs the server, as if i got a dead lock.
So I figured, I'm probably not the first one to try to do it. Why not use a working implementation?

So everyone that have an idea / code of what can I do to make the invokation of the event in a diffrent thread for each client, please post me back.

thank you.


Arik Poznanski

COM is NOT dead.
GeneralRe: ATL - invoke an event in a diffrent thread Pin
geo_m12-Aug-03 3:15
geo_m12-Aug-03 3:15 
GeneralRe: ATL - invoke an event in a diffrent thread Pin
Arik Poznanski12-Aug-03 9:10
Arik Poznanski12-Aug-03 9:10 
GeneralRe: ATL - invoke an event in a diffrent thread Pin
geo_m12-Aug-03 12:01
geo_m12-Aug-03 12:01 
General#include <winsock2.h> error!!! Pin
tareqsiraj31-Jul-03 7:40
tareqsiraj31-Jul-03 7:40 
GeneralPrint HTML docs with ATL Pin
Jo Fredrickson30-Jul-03 20:02
Jo Fredrickson30-Jul-03 20:02 
GeneralPlug-in for MS Outlook. please help Pin
Atif Bashir30-Jul-03 17:00
Atif Bashir30-Jul-03 17:00 
GeneralRe: Plug-in for MS Outlook. please help Pin
Andrew Walker30-Jul-03 20:32
Andrew Walker30-Jul-03 20:32 
GeneralBasic doubt about ATL component distribution Pin
Venkateswar Rao29-Jul-03 18:40
Venkateswar Rao29-Jul-03 18:40 
GeneralRe: Basic doubt about ATL component distribution Pin
Michael Dunn29-Jul-03 20:26
sitebuilderMichael Dunn29-Jul-03 20:26 
GeneralFunction Timings. Pin
73Zeppelin29-Jul-03 3:14
73Zeppelin29-Jul-03 3:14 
GeneralRe: Function Timings. Pin
Michael Dunn29-Jul-03 17:03
sitebuilderMichael Dunn29-Jul-03 17:03 
GeneralRe: Function Timings. Pin
Mike Dimmick31-Jul-03 11:05
Mike Dimmick31-Jul-03 11:05 
GeneralRe: Function Timings. Pin
Michael Dunn31-Jul-03 11:41
sitebuilderMichael Dunn31-Jul-03 11:41 
GeneralRe: Function Timings. Pin
73Zeppelin1-Aug-03 4:18
73Zeppelin1-Aug-03 4:18 
GeneralCHyperlink class in a Window Pin
Tommy2k28-Jul-03 9:06
Tommy2k28-Jul-03 9:06 
GeneralRe: CHyperlink class in a Window Pin
Tommy2k4-Aug-03 5:53
Tommy2k4-Aug-03 5:53 
GeneralDockable windows Pin
FAADI28-Jul-03 1:46
FAADI28-Jul-03 1:46 

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.