Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: File move and compare in VC++ 6 MFC dialog based program? Pin
David Crow23-Feb-11 9:30
David Crow23-Feb-11 9:30 
AnswerRe: File move and compare in VC++ 6 MFC dialog based program? Pin
ajj10023-Feb-11 9:31
ajj10023-Feb-11 9:31 
QuestionRe: File move and compare in VC++ 6 MFC dialog based program? Pin
ajj10025-Feb-11 5:59
ajj10025-Feb-11 5:59 
AnswerRe: File move and compare in VC++ 6 MFC dialog based program? Pin
David Crow25-Feb-11 6:20
David Crow25-Feb-11 6:20 
AnswerRe: File move and compare in VC++ 6 MFC dialog based program? Pin
Maximilien22-Feb-11 13:54
Maximilien22-Feb-11 13:54 
Questiontemplates & friends Pin
Joerg Koenig22-Feb-11 3:12
Joerg Koenig22-Feb-11 3:12 
AnswerRe: templates & friends Pin
Michael Dunn22-Feb-11 5:47
sitebuilderMichael Dunn22-Feb-11 5:47 
AnswerRe: templates & friends Pin
CPallini22-Feb-11 9:49
mveCPallini22-Feb-11 9:49 
Joerg Koenig wrote:
friend class attribute * MakeAttribute(
const string & table,
const string & column,
factory * fac,
T P::* member
);


I think the correct declaration (inside attributeimpl class) should be:
C++
template <typename T, typename P>
      friend attribute *  MakeAttribute(
                const string & table,
                const string & column,
                factory * fac,
                T P::* member
            );


However, the modified code has still troubles with the linker, on my VS 2010.


BTW: did the code author contributed to ATL? Roll eyes | :rolleyes:
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: templates & friends Pin
Rajesh R Subramanian22-Feb-11 19:51
professionalRajesh R Subramanian22-Feb-11 19:51 
GeneralRe: templates & friends Pin
Joerg Koenig22-Feb-11 21:45
Joerg Koenig22-Feb-11 21:45 
Questionwindowless shockwaveflash control doesn't work properly individually Pin
followait21-Feb-11 22:01
followait21-Feb-11 22:01 
AnswerRe: windowless shockwaveflash control doesn't work properly individually Pin
Ahmed Charfeddine22-Feb-11 0:24
Ahmed Charfeddine22-Feb-11 0:24 
GeneralRe: windowless shockwaveflash control doesn't work properly individually Pin
followait22-Feb-11 14:20
followait22-Feb-11 14:20 
QuestionProblem in Excel Automation. Pin
Le@rner21-Feb-11 21:41
Le@rner21-Feb-11 21:41 
AnswerRe: Problem in Excel Automation. Pin
Niklas L21-Feb-11 22:18
Niklas L21-Feb-11 22:18 
QuestionRichEdit and ITextHost scrollbar Pin
Tangwang21-Feb-11 17:26
Tangwang21-Feb-11 17:26 
QuestionGetting File Path of the Current Program [modified] [SOLVED] Pin
AmbiguousName21-Feb-11 7:09
AmbiguousName21-Feb-11 7:09 
AnswerRe: Getting File Path of the Current Program Pin
Hans Dietrich21-Feb-11 7:19
mentorHans Dietrich21-Feb-11 7:19 
AnswerRe: Getting File Path of the Current Program [modified] [SOLVED] Pin
David Crow21-Feb-11 11:05
David Crow21-Feb-11 11:05 
QuestionStripping new line problem Pin
csrss21-Feb-11 4:26
csrss21-Feb-11 4:26 
AnswerRe: Stripping new line problem Pin
Maximilien21-Feb-11 4:48
Maximilien21-Feb-11 4:48 
GeneralRe: Stripping new line problem Pin
csrss21-Feb-11 4:53
csrss21-Feb-11 4:53 
AnswerRe: Stripping new line problem Pin
csrss21-Feb-11 6:17
csrss21-Feb-11 6:17 
AnswerRe: Stripping new line problem Pin
User 742933821-Feb-11 19:48
professionalUser 742933821-Feb-11 19:48 
GeneralRe: Stripping new line problem Pin
csrss21-Feb-11 23:32
csrss21-Feb-11 23: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.