Click here to Skip to main content
11,431,829 members (61,987 online)

ATL / WTL / STL

 
Generalthe answer is Pin
bkelly139-Dec-12 13:25
memberbkelly139-Dec-12 13:25 
QuestionHow To Use Macro In dsp file(VC6.0 *.dsp file) Pin
yingkou27-Nov-12 15:37
memberyingkou27-Nov-12 15:37 
AnswerRe: How To Use Macro In dsp file(VC6.0 *.dsp file) Pin
Richard MacCutchan28-Nov-12 0:34
mvpRichard MacCutchan28-Nov-12 0:34 
QuestionAccessibleObjectFromWindow returns E_ACCESSDENIED Pin
BianChengNan26-Nov-12 0:04
memberBianChengNan26-Nov-12 0:04 
QuestionHow to use NTGraph3D Activex Control in Visual Studio 2010. Pin
DhrumilS23-Nov-12 1:44
memberDhrumilS23-Nov-12 1:44 
Newshacker240union Pin
hacker240union23-Nov-12 0:40
memberhacker240union23-Nov-12 0:40 
Questioncopying AAComBSTR to BYTE Pin
V K 220-Nov-12 21:56
memberV K 220-Nov-12 21:56 
AnswerRe: copying AAComBSTR to BYTE Pin
Richard MacCutchan20-Nov-12 22:28
mvpRichard MacCutchan20-Nov-12 22:28 
AnswerRe: copying AAComBSTR to BYTE Pin
hacker240union23-Nov-12 0:27
memberhacker240union23-Nov-12 0:27 
QuestionC++ Delegate/Events Pin
Edward G Dana14-Nov-12 18:15
memberEdward G Dana14-Nov-12 18:15 
AnswerRe: C++ Delegate/Events Pin
Richard MacCutchan14-Nov-12 21:57
mvpRichard MacCutchan14-Nov-12 21:57 
GeneralRe: C++ Delegate/Events Pin
Edward G Dana15-Nov-12 14:35
memberEdward G Dana15-Nov-12 14:35 
GeneralRe: C++ Delegate/Events Pin
Richard MacCutchan16-Nov-12 0:45
mvpRichard MacCutchan16-Nov-12 0:45 
AnswerRe: C++ Delegate/Events Pin
pasztorpisti20-Nov-12 3:53
memberpasztorpisti20-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
memberEDanaII20-Nov-12 17:23 
QuestionReturn FALSE in InitInstance causes crash in 64Bits Pin
khaliloenit8-Nov-12 2:01
memberkhaliloenit8-Nov-12 2:01 
AnswerRe: Return FALSE in InitInstance causes crash in 64Bits Pin
Albert Holguin10-Dec-12 5:30
memberAlbert Holguin10-Dec-12 5:30 
QuestionHow to get used dll's path information programetically? Pin
litu kumar6-Nov-12 20:38
memberlitu kumar6-Nov-12 20:38 
AnswerRe: How to get used dll's path information programetically? Pin
Richard MacCutchan6-Nov-12 22:40
mvpRichard MacCutchan6-Nov-12 22:40 
GeneralRe: How to get used dll's path information programetically? [modified] Pin
litu kumar7-Nov-12 0:27
memberlitu kumar7-Nov-12 0:27 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 5:54
mvpRichard MacCutchan7-Nov-12 5:54 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 18:11
memberlitu kumar7-Nov-12 18:11 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 22:34
mvpRichard MacCutchan7-Nov-12 22:34 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 23:35
memberlitu kumar7-Nov-12 23:35 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 1:16
mvpRichard MacCutchan8-Nov-12 1:16 
GeneralRe: How to get used dll's path information programetically? [modified] Pin
litu kumar8-Nov-12 3:58
memberlitu kumar8-Nov-12 3:58 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 5:03
mvpRichard MacCutchan8-Nov-12 5:03 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar15-Nov-12 20:53
memberlitu kumar15-Nov-12 20:53 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan16-Nov-12 0:50
mvpRichard MacCutchan16-Nov-12 0:50 
AnswerRe: How to get used dll's path information programetically? Pin
hacker240union23-Nov-12 0:41
memberhacker240union23-Nov-12 0:41 
Questiondetect close event with CAsyncSocket [modified] Pin
bkelly135-Nov-12 11:32
memberbkelly135-Nov-12 11:32 
QuestionIntermediate GUI Techniques Pin
bkelly132-Nov-12 4:21
memberbkelly132-Nov-12 4:21 
AnswerRe: Intermediate GUI Techniques Pin
Richard MacCutchan2-Nov-12 7:20
mvpRichard MacCutchan2-Nov-12 7:20 
Questionproblem with sprintf_s() on win 7 Pin
Member 93537761-Nov-12 22:34
memberMember 93537761-Nov-12 22:34 
AnswerRe: problem with sprintf_s() on win 7 Pin
Richard MacCutchan1-Nov-12 23:50
mvpRichard MacCutchan1-Nov-12 23:50 
GeneralRe: problem with sprintf_s() on win 7 Pin
bkelly132-Nov-12 4:16
memberbkelly132-Nov-12 4:16 
GeneralRe: problem with sprintf_s() on win 7 Pin
Richard MacCutchan2-Nov-12 7:15
mvpRichard MacCutchan2-Nov-12 7:15 
GeneralRe: problem with sprintf_s() on win 7 Pin
Member 93537764-Nov-12 17:34
memberMember 93537764-Nov-12 17:34 
GeneralRe: problem with sprintf_s() on win 7 Pin
Richard MacCutchan4-Nov-12 22:26
mvpRichard MacCutchan4-Nov-12 22:26 
AnswerRe: problem with sprintf_s() on win 7 Pin
H.Brydon26-Nov-12 20:36
memberH.Brydon26-Nov-12 20:36 
Questionwsageterror() Pin
bkelly131-Nov-12 16:28
memberbkelly131-Nov-12 16:28 
AnswerRe: wsageterror() Pin
Richard MacCutchan1-Nov-12 23:48
mvpRichard MacCutchan1-Nov-12 23:48 
QuestionSTL map issue in VS2010 Pin
Subhash Madhukar30-Oct-12 4:47
memberSubhash Madhukar30-Oct-12 4:47 
AnswerRe: STL map issue in VS2010 Pin
Richard MacCutchan30-Oct-12 7:04
mvpRichard MacCutchan30-Oct-12 7:04 
Questionhow do i copy a CImage DIB to clipboard Pin
Member 951640015-Oct-12 12:15
memberMember 951640015-Oct-12 12:15 
AnswerRe: how do i copy a CImage DIB to clipboard Pin
Andrew Cherednik15-Oct-12 12:41
memberAndrew Cherednik15-Oct-12 12:41 
QuestionWhy does this fail - CFile / SeekToEnd? [modified] Pin
charlieg10-Oct-12 7:43
membercharlieg10-Oct-12 7:43 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg10-Oct-12 10:31
membercharlieg10-Oct-12 10:31 
AnswerRe: Why does this fail - CFile / SeekToEnd? Pin
Andrew Cherednik10-Oct-12 12:23
memberAndrew Cherednik10-Oct-12 12:23 
GeneralRe: Why does this fail - CFile / SeekToEnd? Pin
charlieg11-Oct-12 3:20
membercharlieg11-Oct-12 3:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150428.2 | Last Updated 30 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid