Click here to Skip to main content
15,793,260 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
Questioncopying AAComBSTR to BYTE Pin
V K 220-Nov-12 21:56
V K 220-Nov-12 21:56 
AnswerRe: copying AAComBSTR to BYTE Pin
Richard MacCutchan20-Nov-12 22:28
mveRichard MacCutchan20-Nov-12 22:28 
AnswerRe: copying AAComBSTR to BYTE Pin
hacker240union23-Nov-12 0:27
hacker240union23-Nov-12 0:27 
QuestionC++ Delegate/Events Pin
EDanaII14-Nov-12 18:15
EDanaII14-Nov-12 18:15 
AnswerRe: C++ Delegate/Events Pin
Richard MacCutchan14-Nov-12 21:57
mveRichard MacCutchan14-Nov-12 21:57 
GeneralRe: C++ Delegate/Events Pin
EDanaII15-Nov-12 14:35
EDanaII15-Nov-12 14:35 
GeneralRe: C++ Delegate/Events Pin
Richard MacCutchan16-Nov-12 0:45
mveRichard MacCutchan16-Nov-12 0:45 
AnswerRe: C++ Delegate/Events Pin
pasztorpisti20-Nov-12 3:53
pasztorpisti20-Nov-12 3:53 
C++ doesn't natively support delegates and delegate implementation in C++ is quite messy especially if you try to support methods with variable number of parameters and parameter types - it also involves super-ugly method pointer casting. Delegates are simply ugly in C++, I recommend never using them if it isn't necessary. (For me using delegates is necessary only if a used 3rd party library makes it necessary to use delgates in its public interface...) I always prefer using old-school listener interfaces with old-school virtual methods (classes with pure or empty-bodied virtual methods only) to listen for events. Always consider alternatives and prefer readability of the resulting code. It doesn't worth trying to shape C++ into C#!
GeneralRe: C++ Delegate/Events Pin
EDanaII20-Nov-12 17:23
EDanaII20-Nov-12 17:23 
QuestionReturn FALSE in InitInstance causes crash in 64Bits Pin
MrKBA8-Nov-12 2:01
MrKBA8-Nov-12 2:01 
AnswerRe: Return FALSE in InitInstance causes crash in 64Bits Pin
Albert Holguin10-Dec-12 5:30
professionalAlbert Holguin10-Dec-12 5:30 
QuestionHow to get used dll's path information programetically? Pin
litu kumar6-Nov-12 20:38
litu kumar6-Nov-12 20:38 
AnswerRe: How to get used dll's path information programetically? Pin
Richard MacCutchan6-Nov-12 22:40
mveRichard MacCutchan6-Nov-12 22:40 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 0:27
litu kumar7-Nov-12 0:27 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 5:54
mveRichard MacCutchan7-Nov-12 5:54 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 18:11
litu kumar7-Nov-12 18:11 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 22:34
mveRichard MacCutchan7-Nov-12 22:34 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 23:35
litu kumar7-Nov-12 23:35 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 1:16
mveRichard MacCutchan8-Nov-12 1:16 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar8-Nov-12 3:58
litu kumar8-Nov-12 3:58 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 5:03
mveRichard MacCutchan8-Nov-12 5:03 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar15-Nov-12 20:53
litu kumar15-Nov-12 20:53 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan16-Nov-12 0:50
mveRichard MacCutchan16-Nov-12 0:50 
AnswerRe: How to get used dll's path information programetically? Pin
hacker240union23-Nov-12 0:41
hacker240union23-Nov-12 0:41 
Questiondetect close event with CAsyncSocket Pin
bkelly135-Nov-12 11:32
bkelly135-Nov-12 11:32 

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.