Click here to Skip to main content
15,507,012 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionHow to unload a memory-resident system dll from memory? Pin
creative2628-Jun-12 11:50
creative2628-Jun-12 11:50 
AnswerRe: How to unload a memory-resident system dll from memory? Pin
Richard MacCutchan28-Jun-12 23:26
mveRichard MacCutchan28-Jun-12 23:26 
QuestionHELP BUTTON Pin
Smart Zulu22-Jun-12 2:15
Smart Zulu22-Jun-12 2:15 
QuestionUnable to drop a file on a new message in outlook 2007 Pin
sisrahul19-Jun-12 3:57
sisrahul19-Jun-12 3:57 
GeneralBug in ATL/MFC 8.0 CString Pin
XmlSeeker14-Jun-12 19:58
XmlSeeker14-Jun-12 19:58 
GeneralRe: Bug in ATL/MFC 8.0 CString Pin
Richard MacCutchan14-Jun-12 22:48
mveRichard MacCutchan14-Jun-12 22:48 
QuestionATL - Raise Event to all clients and acces to same variable Pin
ljubek7414-Jun-12 8:08
ljubek7414-Jun-12 8:08 
AnswerRe: ATL - Raise Event to all clients and acces to same variable Pin
barneyman17-Jun-12 15:51
barneyman17-Jun-12 15:51 
Create your class as a singleton, you need to make it an event source, and the consumers an event_receiver - there's an example here on CP

As far as the common variable is concerned, you can either pass it byvlaue in the event, or expose it as a property/via a method

You'll have to put some locking in the singleton too, to stop your host changing the value while the clients are looking at it
GeneralRe: ATL - Raise Event to all clients and acces to same variable Pin
ljubek7418-Jun-12 3:02
ljubek7418-Jun-12 3:02 
QuestionMFC exe to ATL service Pin
es196812-Jun-12 4:39
es196812-Jun-12 4:39 
AnswerRe: MFC exe to ATL service Pin
barneyman13-Jun-12 19:02
barneyman13-Jun-12 19:02 
QuestionAPI Decision Pin
Collin Biedenkapp11-Jun-12 19:53
Collin Biedenkapp11-Jun-12 19:53 
AnswerRe: API Decision Pin
Richard MacCutchan11-Jun-12 23:01
mveRichard MacCutchan11-Jun-12 23:01 
Questionhow to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 21:41
astupidboy31-May-12 21:41 
AnswerRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 22:26
mveRichard MacCutchan31-May-12 22:26 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:29
astupidboy31-May-12 23:29 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan31-May-12 23:35
mveRichard MacCutchan31-May-12 23:35 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:56
astupidboy31-May-12 23:56 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan1-Jun-12 0:08
mveRichard MacCutchan1-Jun-12 0:08 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy1-Jun-12 0:24
astupidboy1-Jun-12 0:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 18:58
barneyman3-Jun-12 18:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:35
astupidboy31-May-12 23:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 7:39
MrKBA30-May-12 7:39 
AnswerRe: Save a _RecordsetPtr into map Pin
barneyman3-Jun-12 19:04
barneyman3-Jun-12 19:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA25-May-12 0:58
MrKBA25-May-12 0:58 

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.