Click here to Skip to main content
15,867,453 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Issue with CHTMLEditView in CDHTMLDialog Pin
Richard MacCutchan8-Jan-15 0:07
mveRichard MacCutchan8-Jan-15 0:07 
Questionusing friend Pin
bkelly139-Dec-14 7:29
bkelly139-Dec-14 7:29 
AnswerRe: using friend Pin
Richard MacCutchan10-Dec-14 5:22
mveRichard MacCutchan10-Dec-14 5:22 
GeneralRe: using friend Pin
bkelly1311-Dec-14 10:24
bkelly1311-Dec-14 10:24 
GeneralRe: using friend Pin
Richard MacCutchan11-Dec-14 23:07
mveRichard MacCutchan11-Dec-14 23:07 
GeneralRe: using friend Pin
Aescleal11-Dec-14 23:52
Aescleal11-Dec-14 23:52 
GeneralRe: using friend Pin
bkelly1312-Dec-14 12:12
bkelly1312-Dec-14 12:12 
GeneralRe: using friend Pin
Aescleal15-Dec-14 5:18
Aescleal15-Dec-14 5:18 
You're right - I got things a bit bum backwards. Basically you want C to be able to look at the implementation details of M so you declare C a friend in M:

C++
class M
{
    // Somewhere in the declaration of M...
    friend class C;
};


should do the trick.
AnswerRe: using friend Pin
Theo Buys22-Dec-14 4:25
Theo Buys22-Dec-14 4:25 
QuestionHow to create a dll as Unbreakable in C#.Net? Pin
karthickbm7-Dec-14 20:37
karthickbm7-Dec-14 20:37 
AnswerRe: How to create a dll as Unbreakable in C#.Net? Pin
Richard MacCutchan7-Dec-14 22:52
mveRichard MacCutchan7-Dec-14 22:52 
QuestionTCP/API class basic design Pin
bkelly138-Nov-14 16:31
bkelly138-Nov-14 16:31 
AnswerRe: TCP/API class basic design Pin
Garth J Lancaster8-Nov-14 16:56
professionalGarth J Lancaster8-Nov-14 16:56 
GeneralRe: TCP/API class basic design Pin
bkelly139-Nov-14 2:15
bkelly139-Nov-14 2:15 
AnswerRe: TCP/API class basic design Pin
Garth J Lancaster8-Nov-14 17:06
professionalGarth J Lancaster8-Nov-14 17:06 
GeneralRe: TCP/API class basic design Pin
bkelly139-Nov-14 2:19
bkelly139-Nov-14 2:19 
AnswerRe: TCP/API class basic design Pin
Albert Holguin10-Nov-14 4:58
professionalAlbert Holguin10-Nov-14 4:58 
GeneralRe: TCP/API class basic design Pin
bkelly1310-Nov-14 12:40
bkelly1310-Nov-14 12:40 
AnswerRe: TCP/API class basic design Pin
Albert Holguin10-Nov-14 16:47
professionalAlbert Holguin10-Nov-14 16:47 
GeneralMultiple threads explained Pin
bkelly1311-Nov-14 6:30
bkelly1311-Nov-14 6:30 
GeneralRe: Multiple threads explained Pin
Albert Holguin11-Nov-14 7:01
professionalAlbert Holguin11-Nov-14 7:01 
GeneralRe: Multiple threads explained Pin
bkelly1311-Nov-14 9:58
bkelly1311-Nov-14 9:58 
AnswerRe: TCP/API class basic design Pin
pasztorpisti10-Jan-15 11:06
pasztorpisti10-Jan-15 11:06 
QuestionTime of reading text file Pin
econy7-Nov-14 4:24
econy7-Nov-14 4:24 
QuestionRe: Time of reading text file Pin
Richard MacCutchan8-Nov-14 21:33
mveRichard MacCutchan8-Nov-14 21:33 

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.