Click here to Skip to main content
15,891,607 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionVS 2008 and ATL Web Service / Server Pin
Hadi Rezaee12-Dec-08 5:53
Hadi Rezaee12-Dec-08 5:53 
AnswerRe: VS 2008 and ATL Web Service / Server Pin
Stuart Dootson12-Dec-08 8:40
professionalStuart Dootson12-Dec-08 8:40 
GeneralRe: VS 2008 and ATL Web Service / Server Pin
Hadi Rezaee13-Dec-08 0:16
Hadi Rezaee13-Dec-08 0:16 
GeneralRe: VS 2008 and ATL Web Service / Server Pin
Stuart Dootson13-Dec-08 1:07
professionalStuart Dootson13-Dec-08 1:07 
QuestionSet in Visual Studio 2005! Pin
SanjaySMK11-Dec-08 23:22
SanjaySMK11-Dec-08 23:22 
AnswerRe: Set in Visual Studio 2005! Pin
Stuart Dootson12-Dec-08 8:32
professionalStuart Dootson12-Dec-08 8:32 
QuestionWhy COM Pin
Varghese Paul M10-Dec-08 22:49
Varghese Paul M10-Dec-08 22:49 
AnswerRe: Why COM Pin
Stuart Dootson11-Dec-08 2:20
professionalStuart Dootson11-Dec-08 2:20 
COM is intended to be (relatively) language independent (both in terms of class implementers and users). It's designed so that component facilities are discoverable without having to know where or how they're implemented (that's where COM registration comes in).

C++ classes exported from DLLs, on the other hand, don't have those properties. The C++ class methods are exported with mangled names that vary depending on the compiler you're using, so can't be predicted without knowing how the DLL was implemented. Also - they're only DLLs. COM classes can be implemented as in-process servers (COM DLLs), out-of-process servers (COM EXEs) or even on a different machine.

Another thing - memory management. COM objects are reference-counted and use a language independent memory allocator. C++ classes? Manual memory management through the C++ allocator.
QuestionRe: Why COM Pin
led mike11-Dec-08 5:03
led mike11-Dec-08 5:03 
QuestionPowerpoint Addin Using ATL (How do I deal with Events?) Pin
kalukaley10-Dec-08 8:14
kalukaley10-Dec-08 8:14 
QuestionHow to search elements in vector Pin
krishnakumartm10-Dec-08 0:12
krishnakumartm10-Dec-08 0:12 
AnswerRe: How to search elements in vector Pin
Michael Dunn10-Dec-08 9:22
sitebuilderMichael Dunn10-Dec-08 9:22 
GeneralRe: How to search elements in vector Pin
krishnakumartm11-Dec-08 4:09
krishnakumartm11-Dec-08 4:09 
QuestionBHO question: context menu item with "dynamic" title Pin
Dmitry Khudorozhkov9-Dec-08 14:55
Dmitry Khudorozhkov9-Dec-08 14:55 
QuestionRe: BHO question: context menu item with "dynamic" title Pin
led mike10-Dec-08 4:51
led mike10-Dec-08 4:51 
QuestionControl being created with a valid DC but no window until a refresh is made Pin
TClarke9-Dec-08 0:06
TClarke9-Dec-08 0:06 
AnswerFixed it Pin
TClarke9-Dec-08 1:21
TClarke9-Dec-08 1:21 
Questionwin32 version of rand() ? Pin
Member 56966976-Dec-08 4:29
Member 56966976-Dec-08 4:29 
AnswerRe: win32 version of rand() ? Pin
Michael Dunn7-Dec-08 20:34
sitebuilderMichael Dunn7-Dec-08 20:34 
QuestionHow to use the Aggregate COM object in client application Pin
KASR14-Dec-08 23:28
KASR14-Dec-08 23:28 
QuestionHow to create composite control Pin
KASR12-Dec-08 18:57
KASR12-Dec-08 18:57 
AnswerRe: How to create composite control Pin
Stuart Dootson2-Dec-08 22:12
professionalStuart Dootson2-Dec-08 22:12 
GeneralRe: How to create composite control Pin
KASR13-Dec-08 0:30
KASR13-Dec-08 0:30 
QuestionGetting to Parent frame window from view Pin
rajas30-Nov-08 19:31
rajas30-Nov-08 19:31 
AnswerRe: Getting to Parent frame window from view Pin
Michael Dunn5-Dec-08 15:38
sitebuilderMichael Dunn5-Dec-08 15:38 

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.