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

C / C++ / MFC

 
QuestionSingle instance Pin
Waldermort18-Sep-06 4:41
Waldermort18-Sep-06 4:41 
AnswerRe: Single instance Pin
_AnsHUMAN_ 18-Sep-06 4:52
_AnsHUMAN_ 18-Sep-06 4:52 
GeneralRe: Single instance Pin
Waldermort18-Sep-06 4:57
Waldermort18-Sep-06 4:57 
GeneralRe: Single instance Pin
ThatsAlok18-Sep-06 5:05
ThatsAlok18-Sep-06 5:05 
GeneralRe: Single instance Pin
Waldermort18-Sep-06 5:35
Waldermort18-Sep-06 5:35 
GeneralRe: Single instance Pin
toxcct18-Sep-06 5:12
toxcct18-Sep-06 5:12 
AnswerRe: Single instance Pin
led mike18-Sep-06 5:27
led mike18-Sep-06 5:27 
AnswerRe: Single instance Pin
Lambry18-Sep-06 6:27
Lambry18-Sep-06 6:27 
Hi WalderMort !

Your question is very interesting. I have the same problem with my application.

One of the possible solution is to define class as global, and then to use directive "extern" to get access to his members from any other part of your application.

I am using this method, and it work just fine.


GeneralRe: Single instance Pin
ThatsAlok18-Sep-06 18:12
ThatsAlok18-Sep-06 18:12 
GeneralRe: Single instance Pin
Lambry19-Sep-06 0:08
Lambry19-Sep-06 0:08 
GeneralRe: Single instance Pin
ThatsAlok19-Sep-06 0:48
ThatsAlok19-Sep-06 0:48 
GeneralRe: Single instance Pin
Lambry19-Sep-06 4:06
Lambry19-Sep-06 4:06 
GeneralRe: Single instance Pin
ThatsAlok19-Sep-06 19:07
ThatsAlok19-Sep-06 19:07 
QuestionProblem with Doc /View Pin
ramanand_bulusu18-Sep-06 4:24
ramanand_bulusu18-Sep-06 4:24 
AnswerRe: Problem with Doc /View Pin
Zac Howland18-Sep-06 4:45
Zac Howland18-Sep-06 4:45 
AnswerRe: Problem with Doc /View Pin
ThatsAlok18-Sep-06 5:06
ThatsAlok18-Sep-06 5:06 
GeneralRe: Problem with Doc /View Pin
tanvon malik18-Sep-06 7:24
tanvon malik18-Sep-06 7:24 
GeneralRe: Problem with Doc /View Pin
ThatsAlok18-Sep-06 18:11
ThatsAlok18-Sep-06 18:11 
GeneralRe: Problem with Doc /View Pin
tanvon malik19-Sep-06 1:21
tanvon malik19-Sep-06 1:21 
AnswerRe: Problem with Doc /View Pin
tanvon malik18-Sep-06 7:16
tanvon malik18-Sep-06 7:16 
QuestionPartition Tabel Pin
EpicYeti18-Sep-06 4:19
EpicYeti18-Sep-06 4:19 
AnswerRe: Partition Tabel Pin
Steve S18-Sep-06 5:34
Steve S18-Sep-06 5:34 
QuestionUsing GDI+ load from Buffer [modified] Pin
SakoEBS18-Sep-06 4:17
SakoEBS18-Sep-06 4:17 
AnswerRe: Using GDI+ load from Buffer Pin
bob1697218-Sep-06 5:10
bob1697218-Sep-06 5:10 
GeneralRe: Using GDI+ load from Buffer Pin
SakoEBS18-Sep-06 6:17
SakoEBS18-Sep-06 6:17 

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.