Click here to Skip to main content
15,887,214 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 6:00
Schehaider_Aymen1-Jun-10 6:00 
AnswerRe: ATL / COM what's the use for ? Pin
Randor 1-Jun-10 8:30
professional Randor 1-Jun-10 8:30 
GeneralRe: ATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 9:29
Schehaider_Aymen1-Jun-10 9:29 
GeneralRe: ATL / COM what's the use for ? Pin
Stephen Hewitt3-Jun-10 14:09
Stephen Hewitt3-Jun-10 14:09 
GeneralRe: ATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 11:24
Schehaider_Aymen1-Jun-10 11:24 
GeneralRe: ATL / COM what's the use for ? Pin
Randor 1-Jun-10 12:14
professional Randor 1-Jun-10 12:14 
GeneralRe: ATL / COM what's the use for ? Pin
Schehaider_Aymen1-Jun-10 21:06
Schehaider_Aymen1-Jun-10 21:06 
AnswerRe: ATL / COM what's the use for ? Pin
Aescleal2-Jun-10 10:37
Aescleal2-Jun-10 10:37 
COM's got some advantages compared to calling functions in DLLs or rolling your own interprocess communication:

- Does all the marshalling for you
- Your components can be used relatively easily and transparently from non-C or C++ languages
- Location transparent (ish), your components can be in the same process, a different process or at the end of some convoluted communications network

Against that it's a bitch to use properly especially in languages that don't support it directly (e.g. C and C++). To be honest if you're writing code that doesn't need any of the things I've mentioned above stick to straight DLLs written in the same language as you main application.

Cheers,

Ash
GeneralRe: ATL / COM what's the use for ? Pin
Schehaider_Aymen2-Jun-10 21:58
Schehaider_Aymen2-Jun-10 21:58 
QuestionWindows Vista not allowed to write file on C:\Users folder Pin
am 20091-Jun-10 3:50
am 20091-Jun-10 3:50 
AnswerRe: Windows Vista not allowed to write file on C:\Users folder Pin
Randor 1-Jun-10 8:38
professional Randor 1-Jun-10 8:38 
GeneralRe: Windows Vista not allowed to write file on C:\Users folder Pin
am 20092-Jun-10 4:27
am 20092-Jun-10 4:27 
QuestionRe: Windows Vista not allowed to write file on C:\Users folder Pin
Randor 2-Jun-10 7:46
professional Randor 2-Jun-10 7:46 
AnswerRe: Windows Vista not allowed to write file on C:\Users folder Pin
am 20093-Jun-10 4:21
am 20093-Jun-10 4:21 
QuestionProblem with Activex control property pages Pin
Sreenivas00328-May-10 2:17
Sreenivas00328-May-10 2:17 
QuestionAbout the remove() behavior of container list on MAC [modified] Pin
szh12113-May-10 15:47
szh12113-May-10 15:47 
AnswerRe: About the remove() behavior of container list on MAC Pin
szh12113-May-10 22:55
szh12113-May-10 22:55 
QuestionChild windows of non-modal dialog not receiving WM_DESTROY (at least not when expected) Pin
mjxy9-May-10 4:49
mjxy9-May-10 4:49 
QuestionHowto put a TrackBar in a Menu ? Pin
yarp27-Apr-10 1:07
yarp27-Apr-10 1:07 
QuestionCreating a borderless MDI child window Pin
Member 381982124-Apr-10 0:00
Member 381982124-Apr-10 0:00 
AnswerRe: Creating a borderless MDI child window Pin
Jonathan Davies24-Apr-10 1:06
Jonathan Davies24-Apr-10 1:06 
QuestionProblems while adding custom header with IWebBrowser2 [modified] Pin
arbittorr21-Apr-10 12:14
arbittorr21-Apr-10 12:14 
AnswerRe: Problems while adding custom header with IWebBrowser2 Pin
Stephen Hewitt22-Apr-10 14:09
Stephen Hewitt22-Apr-10 14:09 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
arbittorr23-Apr-10 0:18
arbittorr23-Apr-10 0:18 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
Jonathan Davies23-Apr-10 1:57
Jonathan Davies23-Apr-10 1:57 

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.