Click here to Skip to main content
14,740,423 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:56
Memberastupidboy31-May-12 23:56 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
Richard MacCutchan1-Jun-12 0:08
mveRichard MacCutchan1-Jun-12 0:08 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy1-Jun-12 0:24
Memberastupidboy1-Jun-12 0:24 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
barneyman3-Jun-12 18:58
Memberbarneyman3-Jun-12 18:58 
GeneralRe: how to use an interface as a parameter in other atl objects? Pin
astupidboy31-May-12 23:35
Memberastupidboy31-May-12 23:35 
QuestionSave a _RecordsetPtr into map Pin
MrKBA30-May-12 7:39
MemberMrKBA30-May-12 7:39 
AnswerRe: Save a _RecordsetPtr into map Pin
barneyman3-Jun-12 19:04
Memberbarneyman3-Jun-12 19:04 
QuestionCOM_INTERFACE_ENTRY correct use ? Pin
MrKBA25-May-12 0:58
MemberMrKBA25-May-12 0:58 
I have the chain of inheritance :
coclass _A
{
    [default] interface _IA;
};

coclass _A_1
{
    [default] interface _IA_1;
};

coclass A
{
    [default] interface IA;
    [default, source] dispinterface _IA_ControllerEvents;
};

interface _IA   : IDispatch{
interface _IA_1 : _IA{
interface  IA    : _IA_1{


all class inherits from IDispatchImpl

In the COM map of the class CA that expose the interface IA, I didn't know the correct code and how I manage the macros COM_INTERFACE_ENTRY and COM_INTERFACE_ENTRY2
So I do :
BEGIN_COM_MAP(CA)
    COM_INTERFACE_ENTRY(IA)
    COM_INTERFACE_ENTRY2(IDispatch, _IA)
    COM_INTERFACE_ENTRY(IConnectionPointContainer)
    COM_INTERFACE_ENTRY(ISupportErrorInfo)
    COM_INTERFACE_ENTRY(_IA)
    COM_INTERFACE_ENTRY(_IA_1)
END_COM_MAP()


is this correct ? or should I add an other macro COM_INTERFACE_ENTRY2 like this :
COM_INTERFACE_ENTRY2(_IA, _IA_1)

?
Thank you.
QuestionIE 10 Protected Mode issues with Winodws 8 x64 CP. Pin
birajendu22-May-12 0:47
Memberbirajendu22-May-12 0:47 
QuestionHow to do inheritance in ATL Pin
Rahul.RK21-May-12 1:19
MemberRahul.RK21-May-12 1:19 
SuggestionRe: How to do inheritance in ATL Pin
Pablo Aliskevicius21-May-12 3:41
MemberPablo Aliskevicius21-May-12 3:41 
QuestionSTL List Pin
dotman115-May-12 6:05
Memberdotman115-May-12 6:05 
AnswerRe: STL List Pin
«_Superman_»20-May-12 17:37
professional«_Superman_»20-May-12 17:37 
QuestionRe: STL List Pin
Aescleal21-May-12 5:55
MemberAescleal21-May-12 5:55 
AnswerRe: STL List Pin
Vitaly Tomilov10-Jun-12 10:53
MemberVitaly Tomilov10-Jun-12 10:53 
Questiongenerate the .H file from COM Pin
MrKBA14-May-12 2:38
MemberMrKBA14-May-12 2:38 
AnswerRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 2:55
MemberPablo Aliskevicius14-May-12 2:55 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 2:58
MemberMrKBA14-May-12 2:58 
GeneralRe: generate the .H file from COM Pin
Pablo Aliskevicius14-May-12 2:59
MemberPablo Aliskevicius14-May-12 2:59 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 3:02
MemberMrKBA14-May-12 3:02 
AnswerRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 3:08
mvePete O'Hanlon14-May-12 3:08 
GeneralRe: generate the .H file from COM Pin
MrKBA14-May-12 3:51
MemberMrKBA14-May-12 3:51 
GeneralRe: generate the .H file from COM Pin
Pete O'Hanlon14-May-12 3:55
mvePete O'Hanlon14-May-12 3:55 
Questioncreating a dialog in non mfc application Pin
Rajeev.Goutham9-May-12 21:42
MemberRajeev.Goutham9-May-12 21:42 
AnswerRe: creating a dialog in non mfc application Pin
Richard MacCutchan9-May-12 23:12
mveRichard MacCutchan9-May-12 23:12 

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.