Click here to Skip to main content
15,919,245 members
Home / Discussions / COM
   

COM

 
GeneralRe: Client server Communication Pin
Bill Wilson16-Nov-01 7:30
Bill Wilson16-Nov-01 7:30 
GeneralRe: Client server Communication Pin
AndyC3-Dec-01 3:37
AndyC3-Dec-01 3:37 
Generalout-process .EXE problem .. HELP!!!!!!! Pin
Fumiseki15-Nov-01 6:14
Fumiseki15-Nov-01 6:14 
GeneralRe: out-process .EXE problem .. HELP!!!!!!! Pin
Bill Wilson20-Nov-01 13:01
Bill Wilson20-Nov-01 13:01 
GeneralRe: out-process .EXE problem .. HELP!!!!!!! Pin
Firoz21-Nov-01 1:24
Firoz21-Nov-01 1:24 
GeneralRe: out-process .EXE problem .. HELP!!!!!!! Pin
Fumiseki21-Nov-01 19:04
Fumiseki21-Nov-01 19:04 
Generalfiring an event with atl wizard Pin
kike14-Nov-01 6:43
kike14-Nov-01 6:43 
GeneralRe: firing an event with atl wizard Pin
Aaron Schaefer15-Nov-01 3:52
Aaron Schaefer15-Nov-01 3:52 
I have fired events using the CProx_XXX classes generated by the wizard without problems. Have you stepped into the Fire_XXX method? You should verify that the number of connections is correct for the number of clients attached to the event source (the proxy class), that the proxy gets an IDispatch pointer to your client OK, and that the return value of IDispInvoke is OK.

What is the result of the call to IDispatch::Invoke in the Fire_XXX method? It's possible that the server is connected to the event sink OK, but the implementation of IDispatch::Invoke is failing to call the event handler you defined in your client class. Which mechanism are you using to sink the events, IDispEventImpl or IDispEventSimpleImpl? If you don't declare your handler function with the correct signature, it won't get called, and if there is a mismatch in the DISPPARMS for the event that's fired and the handler that sinks it, it may not work too well either.

Check the HRESULT returned from IDispatch::Invoke in the debugger. It may point you in the right direction.
GeneralRe: firing an event with atl wizard Pin
Bill Wilson16-Nov-01 11:38
Bill Wilson16-Nov-01 11:38 
QuestionDo I have to use ATL ?? Pin
Krouer13-Nov-01 0:05
Krouer13-Nov-01 0:05 
AnswerRe: Do I have to use ATL ?? Pin
Michael P Butler13-Nov-01 0:14
Michael P Butler13-Nov-01 0:14 
GeneralRe: Do I have to use ATL ?? Pin
Krouer13-Nov-01 2:17
Krouer13-Nov-01 2:17 
GeneralRe: Do I have to use ATL ?? Pin
Not Active13-Nov-01 2:45
mentorNot Active13-Nov-01 2:45 
GeneralRe: Do I have to use ATL ?? Pin
Carlos Antollini13-Nov-01 3:07
Carlos Antollini13-Nov-01 3:07 
GeneralRe: Do I have to use ATL ?? Pin
2-Dec-01 18:27
suss2-Dec-01 18:27 
GeneralRe: Do I have to use ATL ?? Pin
Michael P Butler13-Nov-01 3:22
Michael P Butler13-Nov-01 3:22 
QuestionHow can I detect the creation of COM "Random RPC threads" ?? Pin
Espen Harlinn9-Nov-01 3:52
professionalEspen Harlinn9-Nov-01 3:52 
GeneralDCOM on Windows 95 Pin
9-Nov-01 3:23
suss9-Nov-01 3:23 
GeneralRe: DCOM on Windows 95 Pin
Martin Bohring9-Nov-01 4:03
Martin Bohring9-Nov-01 4:03 
GeneralRe: DCOM on Windows 95 Pin
9-Nov-01 5:56
suss9-Nov-01 5:56 
GeneralRe: DCOM on Windows 95 Pin
Espen Harlinn11-Nov-01 15:31
professionalEspen Harlinn11-Nov-01 15:31 
GeneralChanging ActiveX control size(extents) Pin
8-Nov-01 5:55
suss8-Nov-01 5:55 
GeneralITypeInfo and VT_PTR Pin
8-Nov-01 5:22
suss8-Nov-01 5:22 
GeneralRe: ITypeInfo and VT_PTR Pin
8-Nov-01 6:36
suss8-Nov-01 6:36 
GeneralReturning BSTR from dll not working right. Pin
7-Nov-01 23:16
suss7-Nov-01 23:16 

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.