Click here to Skip to main content
15,917,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How can i find some old articles? Pin
Hamid_RT5-Jan-08 23:46
Hamid_RT5-Jan-08 23:46 
GeneralRe: How can i find some old articles? Pin
lichongbin6-Jan-08 14:17
lichongbin6-Jan-08 14:17 
GeneralRe: How can i find some old articles? Pin
Maxwell Chen6-Jan-08 16:26
Maxwell Chen6-Jan-08 16:26 
GeneralRe: How can i find some old articles? Pin
lichongbin6-Jan-08 20:03
lichongbin6-Jan-08 20:03 
GeneralStatic CLass('s) Pin
ForNow5-Jan-08 15:33
ForNow5-Jan-08 15:33 
GeneralRe: Static CLass('s) Pin
Maxwell Chen5-Jan-08 18:09
Maxwell Chen5-Jan-08 18:09 
GeneralRe: Static CLass('s) Pin
ForNow5-Jan-08 18:39
ForNow5-Jan-08 18:39 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 18:09
Eytukan5-Jan-08 18:09 
Fornow I dont understand the question completely, but fornow I can say you something.

First be clear on your design.
You want the referenced class to be single instanced all across the world?
If so , it has to be a singleton.

Or, if you just want the referenced class to be single instanced with the referencing class. It can simply be a static object inside the referencing class.

Note: To use it as a static object, you dont need to use "static" key with the referenced class. Grrrr. It just needs to be prefixed with the object in the referencing class.





OK,. what country just started work for the day ? The ASP.NET forum is flooded with retarded questions. -Christian Graus


Best wishes to Rexx[^]

GeneralRe: Static CLass('s) Pin
ForNow5-Jan-08 18:43
ForNow5-Jan-08 18:43 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 18:58
Eytukan5-Jan-08 18:58 
GeneralRe: Static CLass('s) Pin
ForNow5-Jan-08 19:03
ForNow5-Jan-08 19:03 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 19:39
Eytukan5-Jan-08 19:39 
GeneralRe: Static CLass('s) Pin
ForNow5-Jan-08 20:00
ForNow5-Jan-08 20:00 
GeneralRe: Static CLass('s) Pin
Maxwell Chen5-Jan-08 19:08
Maxwell Chen5-Jan-08 19:08 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 19:37
Eytukan5-Jan-08 19:37 
GeneralRe: Static CLass('s) Pin
Eytukan5-Jan-08 18:28
Eytukan5-Jan-08 18:28 
GeneralArrays Pin
babamara5-Jan-08 12:13
babamara5-Jan-08 12:13 
GeneralRe: Arrays Pin
CPallini5-Jan-08 12:27
mveCPallini5-Jan-08 12:27 
GeneralRe: Arrays Pin
Eytukan5-Jan-08 17:49
Eytukan5-Jan-08 17:49 
GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 17:56
Maxwell Chen5-Jan-08 17:56 
GeneralRe: Arrays [modified] Pin
babamara5-Jan-08 20:56
babamara5-Jan-08 20:56 
GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 21:57
Maxwell Chen5-Jan-08 21:57 
GeneralRe: Arrays Pin
babamara5-Jan-08 22:21
babamara5-Jan-08 22:21 
GeneralRe: Arrays Pin
Maxwell Chen5-Jan-08 22:47
Maxwell Chen5-Jan-08 22:47 
GeneralRe: Arrays Pin
babamara5-Jan-08 23:32
babamara5-Jan-08 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.