Click here to Skip to main content
15,912,897 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: How can I send a reference of an object in a event? Pin
valikac18-Aug-03 17:50
valikac18-Aug-03 17:50 
GeneralI hate ActiveX Pin
Mauricio Ritter12-Aug-03 4:19
Mauricio Ritter12-Aug-03 4:19 
GeneralRe: I hate ActiveX Pin
Stephane Rodriguez.12-Aug-03 4:40
Stephane Rodriguez.12-Aug-03 4:40 
GeneralRe: I hate ActiveX Pin
Mauricio Ritter12-Aug-03 5:30
Mauricio Ritter12-Aug-03 5:30 
GeneralRe: I hate ActiveX Pin
Stephane Rodriguez.12-Aug-03 6:21
Stephane Rodriguez.12-Aug-03 6:21 
GeneralRe: I hate ActiveX Pin
Michael Dunn15-Aug-03 19:13
sitebuilderMichael Dunn15-Aug-03 19:13 
Generalc++ template compile error c2975 Pin
i--11-Aug-03 22:52
i--11-Aug-03 22:52 
GeneralRe: c++ template compile error c2975 Pin
geo_m12-Aug-03 1:24
geo_m12-Aug-03 1:24 
hmm, bad news for you - that would require dynamic template instantiation during the runtime. You have to realize, that the template types (piid and plibid in your cases) must be specified at compile time, that the compiler will be able to deduce the template.

e.g. the use in style
CXXTaskWorker< &IID_IUnknown, &LIBID_MyLib > worker;
is valid because compiler knows what types/constants have to use while building the template code.
while the 'same' case
<br />
const IID * piid = &(info->EventId);<br />
const GUID * plibid =&(info->TypeLib);<br />
<br />
CXXTaskWorker<piid, plibid> worker; 


not being valid, because then the template parameters depends on some runtime value and this is not possible Frown | :-(
GeneralRe: c++ template compile error c2975 Pin
i--12-Aug-03 2:32
i--12-Aug-03 2:32 
GeneralRe: c++ template compile error c2975 Pin
i--12-Aug-03 2:34
i--12-Aug-03 2:34 
GeneralSTL - lower_bound() w/vector of pointers Pin
pfoo11-Aug-03 8:31
pfoo11-Aug-03 8:31 
Generalnevermind Pin
pfoo11-Aug-03 9:05
pfoo11-Aug-03 9:05 
GeneralRe: nevermind Pin
Jörgen Sigvardsson12-Aug-03 13:47
Jörgen Sigvardsson12-Aug-03 13:47 
Questiondebug assertions : wierd or not?? Pin
Senkwe Chanda6-Aug-03 8:44
Senkwe Chanda6-Aug-03 8:44 
Answerjust me being stupid Pin
Senkwe Chanda6-Aug-03 13:46
Senkwe Chanda6-Aug-03 13:46 
GeneralC++ ATL Server project Pin
devvvy5-Aug-03 23:43
devvvy5-Aug-03 23:43 
GeneralRe: C++ ATL Server project Pin
Steve S6-Aug-03 5:43
Steve S6-Aug-03 5:43 
GeneralRe: C++ ATL Server project Pin
Nemanja Trifunovic6-Aug-03 6:13
Nemanja Trifunovic6-Aug-03 6:13 
GeneralRe: C++ ATL Server project Pin
devvvy6-Aug-03 14:56
devvvy6-Aug-03 14:56 
GeneralRe: C++ ATL Server project Pin
nativespirits30-Dec-03 10:04
nativespirits30-Dec-03 10:04 
GeneralSTL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
justin2235-Aug-03 21:01
justin2235-Aug-03 21:01 
GeneralRe: STL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
Anonymous5-Aug-03 21:25
Anonymous5-Aug-03 21:25 
GeneralRe: STL, &quot;upgrade&quot; from sprintf to ostream in a logclass Pin
justin2235-Aug-03 21:32
justin2235-Aug-03 21:32 
GeneralATL and ADO Problem Pin
Popeye Doyle Murray5-Aug-03 2:39
Popeye Doyle Murray5-Aug-03 2:39 
GeneralRe: ATL and ADO Problem Pin
Steve S5-Aug-03 23:17
Steve S5-Aug-03 23:17 

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.