Click here to Skip to main content
15,908,166 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: char[] to CString conversion Pin
«_Superman_»11-Mar-09 19:36
professional«_Superman_»11-Mar-09 19:36 
QuestionRe: char[] to CString conversion Pin
CPallini11-Mar-09 22:52
mveCPallini11-Mar-09 22:52 
AnswerRe: char[] to CString conversion Pin
A_xin12-Mar-09 5:54
A_xin12-Mar-09 5:54 
GeneralRe: char[] to CString conversion Pin
KASR112-Mar-09 18:31
KASR112-Mar-09 18:31 
QuestionHow to get mouse event notification? Pin
mikert_200811-Mar-09 18:26
mikert_200811-Mar-09 18:26 
AnswerRe: How to get mouse event notification? Pin
ShiXiangYang11-Mar-09 21:06
ShiXiangYang11-Mar-09 21:06 
QuestionQuestion about template and DLL? Pin
machengzhi11-Mar-09 17:03
machengzhi11-Mar-09 17:03 
AnswerRe: Question about template and DLL? Pin
Stuart Dootson11-Mar-09 23:54
professionalStuart Dootson11-Mar-09 23:54 
Presuming you're actually using this code to define the singleton:

typedef Loki::SingletonHolder<A> SingleA;


then each module (DLL or EXE) that references A will have its own copy of hte singleton. This is because of how the 'static' keyword works in C++ classes.

If you want one singleton in the whole application, then provide an accessor that's exported from the DLL and declare the singleton in one of the source files in the DLL.

Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

GeneralRe: Question about template and DLL? Pin
machengzhi17-Mar-09 0:19
machengzhi17-Mar-09 0:19 
QuestionAdd WebBrowser control (MFC) in dialog based (PocketPC) Pin
Episodio111-Mar-09 15:19
Episodio111-Mar-09 15:19 
QuestionLow Budget Testing Tools Pin
BobInNJ11-Mar-09 13:53
BobInNJ11-Mar-09 13:53 
AnswerRe: Low Budget Testing Tools Pin
Naveen11-Mar-09 18:20
Naveen11-Mar-09 18:20 
GeneralRe: Low Budget Testing Tools Pin
BobInNJ13-Mar-09 4:04
BobInNJ13-Mar-09 4:04 
AnswerRe: Low Budget Testing Tools Pin
machengzhi17-Mar-09 0:22
machengzhi17-Mar-09 0:22 
QuestionOut Of Scope, Debugging Problem Pin
thenutz7211-Mar-09 11:50
thenutz7211-Mar-09 11:50 
AnswerRe: Out Of Scope, Debugging Problem Pin
BobInNJ11-Mar-09 13:48
BobInNJ11-Mar-09 13:48 
AnswerRe: Out Of Scope, Debugging Problem Pin
Stuart Dootson11-Mar-09 13:50
professionalStuart Dootson11-Mar-09 13:50 
AnswerRe: Out Of Scope, Debugging Problem Pin
«_Superman_»11-Mar-09 18:54
professional«_Superman_»11-Mar-09 18:54 
QuestionDLL openning own window Pin
Krzysiaczek9911-Mar-09 9:04
Krzysiaczek9911-Mar-09 9:04 
AnswerRe: DLL openning own window Pin
Sarath C11-Mar-09 9:54
Sarath C11-Mar-09 9:54 
GeneralRe: DLL openning own window Pin
Krzysiaczek9911-Mar-09 11:36
Krzysiaczek9911-Mar-09 11:36 
QuestionExcel in C++ Pin
su_penguin11-Mar-09 7:38
su_penguin11-Mar-09 7:38 
QuestionRe: Excel in C++ Pin
David Crow11-Mar-09 8:07
David Crow11-Mar-09 8:07 
AnswerRe: Excel in C++ Pin
su_penguin11-Mar-09 8:46
su_penguin11-Mar-09 8:46 
GeneralRe: Excel in C++ Pin
David Crow11-Mar-09 8:52
David Crow11-Mar-09 8:52 

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.