我在ms的group上問了個問題
http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.vc.mfc&tid=402a414c-a125-45bd-9cf4-c1819db7e3e4:
in?http://msdn2.microsoft.com/en-us/library/480b7kf7.aspx,?it?says?that?
pGdiObject->DeleteTempMap();??//?Causes?compiler?error
But?I'm?confused?for?a?static?member?can?be?called?by?the?object?or?a?pointer.
Is?there?anything?wrong?of?my?understanding?
回答的人到蠻多,討論的也很熱烈,但都沒有直接回答我的問題,我的問題是,對于靜態函數,
pGdiObject->DeleteTempMap()
;??//?Causes?compiler?error,
到底對不對?如果不對,就是msdn錯了,不過總覺得比較奇怪,msdn不該出這樣的錯的