Click here to Skip to main content
15,904,494 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: PWSTR length Pin
dabayi17-Feb-05 5:22
dabayi17-Feb-05 5:22 
Generalcalling member functions from a map Pin
Malcolm Smart16-Feb-05 21:43
Malcolm Smart16-Feb-05 21:43 
GeneralRe: calling member functions from a map Pin
Stuart Dootson17-Feb-05 10:33
professionalStuart Dootson17-Feb-05 10:33 
GeneralRe: calling member functions from a map Pin
Malcolm Smart17-Feb-05 21:46
Malcolm Smart17-Feb-05 21:46 
GeneralRe: calling member functions from a map Pin
Stuart Dootson18-Feb-05 4:39
professionalStuart Dootson18-Feb-05 4:39 
GeneralRe: calling member functions from a map Pin
Malcolm Smart18-Feb-05 5:36
Malcolm Smart18-Feb-05 5:36 
GeneralProblem with regular C Class in ATL Pin
rwestgraham16-Feb-05 0:06
rwestgraham16-Feb-05 0:06 
Questionhow to provide same con. point in different objects Pin
grinder15-Feb-05 23:00
grinder15-Feb-05 23:00 
Hi,

following problem:
I have two different com objects which should support connection points. Both have the same interface (derived) and now both should have the same connection point to use 'follow up' code and the sink for both objects like:

CComQIPtr<imyinterface> p;
if(something == 1)
p.CreateInstance("Dummy.Interface");
else
p.CreateInstance("OtherDummy.Interface");
...
and here comes the problem to advise the sink I have to give the DIID_ ... and they are different for both objects:

p.Advise(pUnk, DIID_DummyEvents, &dw) and p.Advise(pUnk, DIID_OtherDummyEvents, &dw)
what I want for both is
p.Advise(pUnk, DIID_Events, &dw)

AND

in the 'sink' class once again the same. want to use same sink for both objects cause both events should be handled the same way!

Some ideas to solve this misery???

thx&greets
GeneralList Control in ATL dialog Pin
abel66615-Feb-05 8:10
abel66615-Feb-05 8:10 
GeneralRe: List Control in ATL dialog Pin
Michael Dunn15-Feb-05 8:49
sitebuilderMichael Dunn15-Feb-05 8:49 
GeneralRe: List Control in ATL dialog Pin
abel66615-Feb-05 21:16
abel66615-Feb-05 21:16 
Questionhow to debug exchange store event sink Pin
muh22m15-Feb-05 7:53
muh22m15-Feb-05 7:53 
QuestionHow to get random numbers? Pin
Anonymous14-Feb-05 20:05
Anonymous14-Feb-05 20:05 
Generalspirit and unicode Pin
bruce2g14-Feb-05 14:40
bruce2g14-Feb-05 14:40 
GeneralRe: spirit and unicode Pin
Stuart Dootson15-Feb-05 5:19
professionalStuart Dootson15-Feb-05 5:19 
GeneralATL Collection Problem Pin
ekling14-Feb-05 11:32
ekling14-Feb-05 11:32 
Generalconvert PWSTR to LPCTSTR Pin
dabayi14-Feb-05 0:03
dabayi14-Feb-05 0:03 
GeneralRe: convert PWSTR to LPCTSTR Pin
rocky_pulley14-Feb-05 2:22
rocky_pulley14-Feb-05 2:22 
GeneralRe: convert PWSTR to LPCTSTR Pin
dabayi14-Feb-05 3:17
dabayi14-Feb-05 3:17 
GeneralRe: convert PWSTR to LPCTSTR Pin
Michael Dunn14-Feb-05 3:20
sitebuilderMichael Dunn14-Feb-05 3:20 
GeneralCommandBarControl.OnAction don't want to work Pin
JabraJabra12-Feb-05 22:01
JabraJabra12-Feb-05 22:01 
GeneralRe: CommandBarControl.OnAction don't want to work Pin
Jörgen Sigvardsson13-Feb-05 5:43
Jörgen Sigvardsson13-Feb-05 5:43 
GeneralRe: CommandBarControl.OnAction don't want to work Pin
JabraJabra13-Feb-05 6:14
JabraJabra13-Feb-05 6:14 
GeneralTrouble w/ Header Files Pin
SwimmerDave12-Feb-05 8:33
SwimmerDave12-Feb-05 8:33 
GeneralRe: Trouble w/ Header Files Pin
Stuart Dootson12-Feb-05 8:42
professionalStuart Dootson12-Feb-05 8:42 

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.