Click here to Skip to main content
15,499,430 members
Home / Discussions / C / C++ / MFC

C / C++ / MFC

AnswerRe: How to run application at win2k startup? Pin
Xiangyang Liu 刘向阳3-Nov-03 1:10
MemberXiangyang Liu 刘向阳3-Nov-03 1:10 
Generalfind window Pin
`Alt+F4`2-Nov-03 21:53
Member`Alt+F4`2-Nov-03 21:53 
GeneralRe: find window Pin
Mumiozol2-Nov-03 23:23
MemberMumiozol2-Nov-03 23:23 
GeneralRe: find window Pin
Antti Keskinen2-Nov-03 23:28
MemberAntti Keskinen2-Nov-03 23:28 
GeneralRe: find window Pin
`Alt+F4`3-Nov-03 10:34
Member`Alt+F4`3-Nov-03 10:34 
GeneralRe: find window Pin
Antti Keskinen5-Nov-03 4:17
MemberAntti Keskinen5-Nov-03 4:17 
Generaltemplate class Problem Pin
Mehran Ziadloo2-Nov-03 21:20
MemberMehran Ziadloo2-Nov-03 21:20 
GeneralRe: template class Problem Pin
Per Nilsson2-Nov-03 22:05
MemberPer Nilsson2-Nov-03 22:05 
The solution is pretty simple.

In stead of
ClassA<ClassB<long>> obj;
ClassA<ClassB<long> > obj;

Yes, the only difference is a space. The reason for the error is that the compiler finds '>>' and believes it to be the >> operator instead of the end of the template lists. So if you put in a space, the first > will end the inner template list and the second the outer and the compiler is happy.

GeneralCFile::ReadHuge question Pin
BlackRider2-Nov-03 21:13
MemberBlackRider2-Nov-03 21:13 
GeneralRe: CFile::ReadHuge question Pin
Steve S3-Nov-03 3:50
MemberSteve S3-Nov-03 3:50 
QuestionHow to restore my application instead of running a new instance? Pin
julych2-Nov-03 21:03
Memberjulych2-Nov-03 21:03 
AnswerRe: How to restore my application instead of running a new instance? Pin
BlackRider2-Nov-03 21:33
MemberBlackRider2-Nov-03 21:33 
AnswerRe: How to restore my application instead of running a new instance? Pin
Michael P Butler2-Nov-03 23:04
MemberMichael P Butler2-Nov-03 23:04 
AnswerRe: How to restore my application instead of running a new instance? Pin
cmk2-Nov-03 23:30
Membercmk2-Nov-03 23:30 
GeneralPreCreateWindow Pin
Vancouver2-Nov-03 20:41
MemberVancouver2-Nov-03 20:41 
GeneralRe: PreCreateWindow Pin
Antti Keskinen2-Nov-03 23:36
MemberAntti Keskinen2-Nov-03 23:36 
GeneralPreCreateWindow Pin
Vancouver3-Nov-03 7:50
MemberVancouver3-Nov-03 7:50 
GeneralRe: PreCreateWindow Pin
Antti Keskinen5-Nov-03 3:17
MemberAntti Keskinen5-Nov-03 3:17 
GeneralOnSetFont Pin
Vancouver7-Nov-03 14:34
MemberVancouver7-Nov-03 14:34 
GeneralRe: OnSetFont Pin
Antti Keskinen8-Nov-03 10:41
MemberAntti Keskinen8-Nov-03 10:41 
GeneralOnSetFont Pin
Vancouver8-Nov-03 20:55
MemberVancouver8-Nov-03 20:55 
GeneralSharing MFC objects among threads... Pin
Suhail Yousaf2-Nov-03 20:16
MemberSuhail Yousaf2-Nov-03 20:16 
GeneralFiles and folders Pin
Selevercin2-Nov-03 18:26
MemberSelevercin2-Nov-03 18:26 
GeneralRe: Files and folders Pin
Michael Dunn2-Nov-03 21:04
sitebuilderMichael Dunn2-Nov-03 21:04 
Generaladding a cbutton to a custom control Pin
mindows2-Nov-03 18:11
Membermindows2-Nov-03 18:11 

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.