Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ScrollBar Limitations Pin
paresh_joe17-Oct-07 20:34
paresh_joe17-Oct-07 20:34 
QuestionSingleton class Pin
Vinod CS17-Oct-07 18:44
Vinod CS17-Oct-07 18:44 
AnswerRe: Singleton class Pin
ThatsAlok17-Oct-07 19:35
ThatsAlok17-Oct-07 19:35 
GeneralRe: Singleton class Pin
Vinod CS17-Oct-07 20:08
Vinod CS17-Oct-07 20:08 
GeneralRe: Singleton class Pin
ThatsAlok17-Oct-07 20:53
ThatsAlok17-Oct-07 20:53 
GeneralRe: Singleton class Pin
Cedric Moonen17-Oct-07 20:10
Cedric Moonen17-Oct-07 20:10 
GeneralRe: Singleton class Pin
ThatsAlok17-Oct-07 20:54
ThatsAlok17-Oct-07 20:54 
AnswerRe: Singleton class Pin
Cedric Moonen17-Oct-07 20:13
Cedric Moonen17-Oct-07 20:13 
I don't know if that is the reason but there is a bug in the VC6 compiler: even if you provide a Destroy public method:

void CSingleton::Destroy()<br />
{<br />
   if (m_pInstance)<br />
      delete m_pInstance;<br />
}


You will have a compilation error saying that the destructor is public. So, to overcome this bug you have to make your destructor public.

I don't know if that is the reason but I encountered this problem before already.


Cédric Moonen
Software developer

Charting control [v1.2]

AnswerRe: Singleton class Pin
jhwurmbach17-Oct-07 23:47
jhwurmbach17-Oct-07 23:47 
QuestionA problem Pin
minihotto17-Oct-07 18:23
minihotto17-Oct-07 18:23 
AnswerRe: A problem Pin
baerten17-Oct-07 21:17
baerten17-Oct-07 21:17 
GeneralRe: A problem Pin
Hamid_RT17-Oct-07 21:56
Hamid_RT17-Oct-07 21:56 
GeneralRe: A problem Pin
jhwurmbach17-Oct-07 23:57
jhwurmbach17-Oct-07 23:57 
GeneralRe: A problem Pin
Hamid_RT18-Oct-07 0:03
Hamid_RT18-Oct-07 0:03 
GeneralRe: A problem Pin
minihotto25-Oct-07 0:36
minihotto25-Oct-07 0:36 
QuestionString^ problem Pin
minihotto17-Oct-07 18:13
minihotto17-Oct-07 18:13 
AnswerRe: String^ problem Pin
Hamid_RT17-Oct-07 19:26
Hamid_RT17-Oct-07 19:26 
GeneralRe: String^ problem Pin
minihotto17-Oct-07 19:30
minihotto17-Oct-07 19:30 
GeneralRe: String^ problem Pin
ThatsAlok17-Oct-07 20:55
ThatsAlok17-Oct-07 20:55 
QuestionRe: String^ problem Pin
Hamid_RT17-Oct-07 21:17
Hamid_RT17-Oct-07 21:17 
AnswerRe: String^ problem Pin
ThatsAlok17-Oct-07 22:27
ThatsAlok17-Oct-07 22:27 
GeneralRe: String^ problem Pin
Hamid_RT18-Oct-07 0:14
Hamid_RT18-Oct-07 0:14 
GeneralRe: String^ problem Pin
ThatsAlok18-Oct-07 0:55
ThatsAlok18-Oct-07 0:55 
GeneralRe: String^ problem Pin
minihotto18-Oct-07 11:25
minihotto18-Oct-07 11:25 
GeneralRe: String^ problem Pin
Hamid_RT19-Oct-07 6:22
Hamid_RT19-Oct-07 6:22 

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.