Click here to Skip to main content
15,921,905 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVC++.Net - Debugging XLL Pin
JSadleir7-Apr-05 3:20
JSadleir7-Apr-05 3:20 
QuestionHow does the process create threads? Pin
binh.pham7-Apr-05 3:20
binh.pham7-Apr-05 3:20 
AnswerRe: How does the process create threads? Pin
toxcct7-Apr-05 3:33
toxcct7-Apr-05 3:33 
AnswerRe: How does the process create threads? Pin
David Crow7-Apr-05 4:46
David Crow7-Apr-05 4:46 
GeneralRe: How does the process create threads? Pin
Alexander M.,7-Apr-05 4:54
Alexander M.,7-Apr-05 4:54 
GeneralRe: How does the process create threads? Pin
David Crow7-Apr-05 4:57
David Crow7-Apr-05 4:57 
GeneralProblem adding a user control in my application Pin
a7corsair7-Apr-05 3:10
a7corsair7-Apr-05 3:10 
Generalproblem with singleton as lib Pin
javatheist7-Apr-05 2:42
javatheist7-Apr-05 2:42 
hi there !

i got a crucial problem with my singleton class. maybe there's anybody who could help me out

i implemented a singleton framework as a static lib that handles callbacks, triggers methods etc.. next to this lib, i got several dlls that access this lib.
the problem basically is that every dll allocates its own memory and includes a copy of the lib there. so, from outside (let's say, the testing app), there's not one framework, but several according to the amount of dlls that load the framework.
as there must be only one framework, i'm looking for kind of a workaround to get rid of this "feature".
i've already tried to build the singleton as a dll which then just would be linked to the other dlls, but that didn't show any positive effect either.
so in other words, is there any memory segment (which would be the heap of the current context/process) that is used by all libraries (be it static or dynamic) that i could store at least the singleton pointer in ?
a really quick solution would be to instantiate this pointer at the testing app or create a shared memory object, but these kinds of solution don't satisfy me at all.
as i'm in an absolute rush, pls come back to me as soon as possible. thank you all very much for any hint or opinion.

best regards,
j
GeneralRe: problem with singleton as lib Pin
Blake Miller7-Apr-05 4:21
Blake Miller7-Apr-05 4:21 
GeneralBitmap 'editing' Pin
mcsherry7-Apr-05 2:26
mcsherry7-Apr-05 2:26 
GeneralRe: Bitmap 'editing' Pin
David Crow7-Apr-05 2:28
David Crow7-Apr-05 2:28 
GeneralRe: Bitmap 'editing' Pin
mcsherry7-Apr-05 2:35
mcsherry7-Apr-05 2:35 
GeneralRe: Bitmap 'editing' Pin
David Crow7-Apr-05 4:55
David Crow7-Apr-05 4:55 
GeneralRe: Bitmap 'editing' Pin
mcsherry7-Apr-05 21:48
mcsherry7-Apr-05 21:48 
GeneralPCA algorithm Pin
Rassul Yunussov7-Apr-05 1:37
Rassul Yunussov7-Apr-05 1:37 
GeneralRe: PCA algorithm Pin
jhwurmbach7-Apr-05 3:18
jhwurmbach7-Apr-05 3:18 
Generalmulti-column popup menu Pin
karmafx7-Apr-05 1:16
karmafx7-Apr-05 1:16 
GeneralRe: multi-column popup menu Pin
karmafx7-Apr-05 2:51
karmafx7-Apr-05 2:51 
GeneralHandles Pin
Balaji Krishna7-Apr-05 1:01
Balaji Krishna7-Apr-05 1:01 
GeneralI can't show a CStatic in Dialog!! Pin
thanh-hai.bui7-Apr-05 0:31
thanh-hai.bui7-Apr-05 0:31 
GeneralRe: I can't show a CStatic in Dialog!! Pin
toxcct7-Apr-05 0:35
toxcct7-Apr-05 0:35 
GeneralRe: I can't show a CStatic in Dialog!! Pin
BadJerry7-Apr-05 0:37
BadJerry7-Apr-05 0:37 
GeneralRe: I can't show a CStatic in Dialog!! Pin
thanh-hai.bui7-Apr-05 1:18
thanh-hai.bui7-Apr-05 1:18 
GeneralRe: I can't show a CStatic in Dialog!! Pin
BadJerry7-Apr-05 1:23
BadJerry7-Apr-05 1:23 
GeneralRe: I can't show a CStatic in Dialog!! Pin
toxcct7-Apr-05 1:57
toxcct7-Apr-05 1:57 

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.