Click here to Skip to main content
16,015,661 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: WTL 7.1 with VS.NET2003 Support Released Pin
Jörgen Sigvardsson10-Dec-03 8:14
Jörgen Sigvardsson10-Dec-03 8:14 
GeneralSTL map. Pin
WREY9-Dec-03 5:11
WREY9-Dec-03 5:11 
GeneralRe: STL map. Pin
ZoogieZork9-Dec-03 6:28
ZoogieZork9-Dec-03 6:28 
GeneralRe: STL map. Pin
WREY9-Dec-03 9:40
WREY9-Dec-03 9:40 
GeneralRe: STL map. Pin
ZoogieZork9-Dec-03 11:42
ZoogieZork9-Dec-03 11:42 
GeneralRe: STL map. Pin
Jörgen Sigvardsson17-Dec-03 8:18
Jörgen Sigvardsson17-Dec-03 8:18 
GeneralImplementing a COM interface in ATL Pin
Judah Gabriel Himango8-Dec-03 9:18
sponsorJudah Gabriel Himango8-Dec-03 9:18 
GeneralRe: Implementing a COM interface in ATL Pin
Jörgen Sigvardsson12-Dec-03 8:19
Jörgen Sigvardsson12-Dec-03 8:19 
I'm assuming you're not using attributed COM-stuff (VS.NET-specific). I don't know anything about attributed COM-programming and I really don't care to know anything about it, because I think that's a bastardization. (Goodie, I got to bitch/vent a little Smile | :) )


Add a , public IWTonLoad in the list of inheritances (sp?) for the implementing class.

Then add a COM_INTERFACE_ENTRY(IWTonLoad) in the BEGIN_COM_MAP map.

Then you may (optionally) add the interface to the array of "supported" interfaces in the ISupportsErrorInfo::InterfaceSupportsErrorInfo(REFIID riid) method. It depends on if you implement ISupportErrorInfo and if you use the ErrorInfo features in COM.

Then you add the method using the STDMETHOD macro as all the "other methods" are declared.

Optionally, you can also add a interface IWTonLoad in the corresponding coclass in your idl-file if you want to make the interface visible in the type library.


That should be pretty much it. You're new to ATL-programming, aren't you? Smile | :)

--
20 eyes in my head, they're all the same![^]
GeneralPrinting with WebBrowser Control Pin
Jo Fredrickson7-Dec-03 18:10
Jo Fredrickson7-Dec-03 18:10 
GeneralRe: Printing with WebBrowser Control Pin
Kosenko Kolya19-Dec-03 0:57
Kosenko Kolya19-Dec-03 0:57 
GeneralRe: Printing with WebBrowser Control Pin
Jo Fredrickson19-Dec-03 17:07
Jo Fredrickson19-Dec-03 17:07 
GeneralPersisting STL containers to disk Pin
Jeremy Pullicino5-Dec-03 4:38
Jeremy Pullicino5-Dec-03 4:38 
GeneralRe: Persisting STL containers to disk Pin
Todd Smith5-Dec-03 5:03
Todd Smith5-Dec-03 5:03 
GeneralRe: Persisting STL containers to disk Pin
John M. Drescher15-Dec-03 7:01
John M. Drescher15-Dec-03 7:01 
GeneralRe: Persisting STL containers to disk Pin
valikac5-Dec-03 5:36
valikac5-Dec-03 5:36 
GeneralRe: Dynamically adding a ActiveX control as a resource to a project Pin
Abhishek Srivastava5-Dec-03 0:51
Abhishek Srivastava5-Dec-03 0:51 
QuestionDoes WTL supports serialization? Pin
Deepa D1-Dec-03 19:55
Deepa D1-Dec-03 19:55 
AnswerRe: Does WTL supports serialization? Pin
Steve S3-Dec-03 22:21
Steve S3-Dec-03 22:21 
GeneralCMapPtrToPtr Pin
Anthony_Yio1-Dec-03 15:54
Anthony_Yio1-Dec-03 15:54 
GeneralRe: CMapPtrToPtr Pin
John M. Drescher1-Dec-03 16:51
John M. Drescher1-Dec-03 16:51 
GeneralRe: CMapPtrToPtr Pin
Michael Dunn2-Dec-03 9:25
sitebuilderMichael Dunn2-Dec-03 9:25 
GeneralSTL threading problem Pin
Josh Gray30-Nov-03 11:42
Josh Gray30-Nov-03 11:42 
GeneralRe: STL threading problem Pin
Jörgen Sigvardsson30-Nov-03 12:04
Jörgen Sigvardsson30-Nov-03 12:04 
GeneralRe: STL threading problem Pin
John M. Drescher1-Dec-03 14:19
John M. Drescher1-Dec-03 14:19 
GeneralRe: STL threading problem Pin
Josh Gray1-Dec-03 16:03
Josh Gray1-Dec-03 16:03 

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.