Click here to Skip to main content
15,886,963 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: C++ - how to refer any header file from a dll while loading throu loadLibrary ? Pin
Richard MacCutchan7-Feb-11 5:27
mveRichard MacCutchan7-Feb-11 5:27 
Questionencryption using VS C/C++ Pin
Alan Kurlansky27-Jan-11 5:25
Alan Kurlansky27-Jan-11 5:25 
AnswerRe: encryption using VS C/C++ Pin
jk chan27-Jan-11 6:10
jk chan27-Jan-11 6:10 
GeneralRe: encryption using VS C/C++ Pin
Alan Kurlansky28-Jan-11 1:19
Alan Kurlansky28-Jan-11 1:19 
AnswerRe: encryption using VS C/C++ Pin
Gene OK14-Feb-11 6:22
Gene OK14-Feb-11 6:22 
Questionhow to close document handle Pin
VCsamir26-Jan-11 18:17
VCsamir26-Jan-11 18:17 
AnswerRe: how to close document handle Pin
Richard MacCutchan26-Jan-11 22:36
mveRichard MacCutchan26-Jan-11 22:36 
QuestionConnections points and clients and really hot chicks Pin
Jim Crafton19-Jan-11 7:42
Jim Crafton19-Jan-11 7:42 
OK, the really hot chicks part was just a joke.

Seriously, I have an ATL COM server that runs as a service. The ATL server is run as a singleton (REGCLS_MULTIPLEUSE). I've got a series of "client" apps (on the same machine) that send the server some data. When the server is shutdown, I want to send an event to the clients. Since I'm using COM I figured I'd use connection points. The server does this with ATL's IConnectionPointContainerImpl, and their proxy class wrapper around the dispatch event interface. I can see that the client properly registers with the server. But when the server tries to call back the client interface, it get's an error, and the client gets an access violation.
Is there some obvious step I've missed? On the client side I'm using ATL's IDispEventImpl to implement the dispatch interface callback.

¡El diablo está en mis pantalones! ¡Mire, mire!
SELECT * FROM User WHERE Clue > 0
0 rows returned

Save an Orange - Use the VCF!
Personal 3D projects
Just Say No to Web 2 Point Blow


AnswerRe: Connections points and clients and really hot chicks Pin
cariolihome19-Jan-11 12:32
cariolihome19-Jan-11 12:32 
QuestionCocoa or Qt4? Pin
Daniel Stefanovski19-Jan-11 5:14
Daniel Stefanovski19-Jan-11 5:14 
AnswerRe: Cocoa or Qt4? Pin
Steve Maier19-Jan-11 5:38
professionalSteve Maier19-Jan-11 5:38 
QuestionHow to identify the change in SQL database using MFC Pin
ganesh_IT18-Jan-11 19:53
ganesh_IT18-Jan-11 19:53 
Questioninterthread messaging in VS/c/c++ Pin
Alan Kurlansky12-Jan-11 11:33
Alan Kurlansky12-Jan-11 11:33 
AnswerRe: interthread messaging in VS/c/c++ Pin
User 742933812-Jan-11 12:29
professionalUser 742933812-Jan-11 12:29 
GeneralRe: interthread messaging in VS/c/c++ Pin
Alan Kurlansky13-Jan-11 3:00
Alan Kurlansky13-Jan-11 3:00 
AnswerRe: interthread messaging in VS/c/c++ Pin
User 742933813-Jan-11 5:00
professionalUser 742933813-Jan-11 5:00 
QuestionBest way to convert from std::wstring to std::string? Pin
David O'Neil8-Jan-11 8:10
professionalDavid O'Neil8-Jan-11 8:10 
AnswerRe: Best way to convert from std::wstring to std::string? [modified] Pin
David O'Neil8-Jan-11 17:32
professionalDavid O'Neil8-Jan-11 17:32 
AnswerRe: Best way to convert from std::wstring to std::string? Pin
«_Superman_»10-Jan-11 7:42
professional«_Superman_»10-Jan-11 7:42 
GeneralRe: Best way to convert from std::wstring to std::string? Pin
David O'Neil10-Jan-11 11:20
professionalDavid O'Neil10-Jan-11 11:20 
GeneralRe: Best way to convert from std::wstring to std::string? Pin
jk chan14-Jan-11 4:46
jk chan14-Jan-11 4:46 
GeneralRe: Best way to convert from std::wstring to std::string? Pin
«_Superman_»14-Jan-11 7:05
professional«_Superman_»14-Jan-11 7:05 
QuestionWhat is meant by "STL Relational Database" programming? Pin
Xpnctoc7-Jan-11 5:04
Xpnctoc7-Jan-11 5:04 
AnswerRe: What is meant by "STL Relational Database" programming? Pin
Richard MacCutchan7-Jan-11 5:33
mveRichard MacCutchan7-Jan-11 5:33 
GeneralRe: What is meant by "STL Relational Database" programming? Pin
Xpnctoc7-Jan-11 5:40
Xpnctoc7-Jan-11 5:40 

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.