Click here to Skip to main content
15,899,937 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 8:28
Jörgen Sigvardsson13-Dec-04 8:28 
GeneralRe: about parameter Pin
yingkou13-Dec-04 12:58
yingkou13-Dec-04 12:58 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 13:00
Jörgen Sigvardsson13-Dec-04 13:00 
GeneralRe: about parameter Pin
yingkou13-Dec-04 13:55
yingkou13-Dec-04 13:55 
GeneralRe: about parameter Pin
yingkou13-Dec-04 14:11
yingkou13-Dec-04 14:11 
GeneralRe: about parameter Pin
Jörgen Sigvardsson13-Dec-04 21:11
Jörgen Sigvardsson13-Dec-04 21:11 
QuestionUsing ATL Interface? Pin
dSolariuM7-Dec-04 19:00
dSolariuM7-Dec-04 19:00 
AnswerRe: Using ATL Interface? Pin
Steve S7-Dec-04 23:41
Steve S7-Dec-04 23:41 
Assuming you mean '#import' this will give you .tlh/.tli files.
These define wrapper classes (unless you use an option to switch these off) inside a namespace (unless you use an option to turn this off).

You need to declare an instance of one of the wrappers, use either raw CoCreateInstance or the wrapper's version to get the appropriate object instantiated and get back the interface. You can then use the methods via your object.

Typically, being retro, I use raw interfaces, and declare mine using

CComPtr<imyinterface> spObj;

but then, I'm old fashioned, I like to see error values myself, rather than having exceptions thrown.

Steve S
Developer for hire
AnswerRe: Using ATL Interface? Pin
ThatsAlok8-Dec-04 2:29
ThatsAlok8-Dec-04 2:29 
QuestionIE Toolbars on Windows Taskbar? Pin
Paul Ingles6-Dec-04 6:52
Paul Ingles6-Dec-04 6:52 
AnswerRe: IE Toolbars on Windows Taskbar? Pin
Michael Dunn6-Dec-04 19:41
sitebuilderMichael Dunn6-Dec-04 19:41 
GeneralRe: IE Toolbars on Windows Taskbar? Pin
Paul Ingles6-Dec-04 22:35
Paul Ingles6-Dec-04 22:35 
Question[Help!!!]How to change states icon??? Pin
Robinzo76955-Dec-04 14:31
sussRobinzo76955-Dec-04 14:31 
Question[Help!!!]How to change states icon??? Pin
Roy Zuo5-Dec-04 14:30
Roy Zuo5-Dec-04 14:30 
QuestionHow to use &quot;GetWindowProc&quot;? Pin
Roozbeh692-Dec-04 0:01
professionalRoozbeh692-Dec-04 0:01 
AnswerRe: How to use "GetWindowProc"? Pin
Igor Vigdorchik4-Dec-04 13:41
Igor Vigdorchik4-Dec-04 13:41 
GeneralRe: How to use &quot;GetWindowProc&quot;? Pin
Roozbeh695-Dec-04 0:36
professionalRoozbeh695-Dec-04 0:36 
GeneralATL support to existing MFC application Pin
Ro_land1-Dec-04 19:28
Ro_land1-Dec-04 19:28 
GeneralRe: ATL support to existing MFC application &lt;&lt;--- solution found ! Pin
Roland Rubichi2-Dec-04 11:57
Roland Rubichi2-Dec-04 11:57 
QuestionHow to override WndProc? Pin
Roozbeh691-Dec-04 8:11
professionalRoozbeh691-Dec-04 8:11 
GeneralVisual Studio 2005 Pin
tcss30-Nov-04 23:14
tcss30-Nov-04 23:14 
GeneralDocking deskband on the right side of the window Pin
kumarbp30-Nov-04 0:03
kumarbp30-Nov-04 0:03 
QuestionPossible to re-use Tree Controls? Pin
retro_coder29-Nov-04 19:07
retro_coder29-Nov-04 19:07 
QuestionUsing ATL Dll? Pin
dSolariuM29-Nov-04 18:12
dSolariuM29-Nov-04 18:12 
AnswerRe: Using ATL Dll? Pin
Steve S29-Nov-04 22:27
Steve S29-Nov-04 22:27 

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.