Click here to Skip to main content
15,912,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _crtBreakAlloc doesn't evaluate? Pin
Brendan Tregear21-Sep-00 15:13
Brendan Tregear21-Sep-00 15:13 
General** Random Number Generator ** Pin
Steve Lai19-Sep-00 10:47
Steve Lai19-Sep-00 10:47 
GeneralRe: ** Random Number Generator ** Pin
Erik Funkenbusch19-Sep-00 12:57
Erik Funkenbusch19-Sep-00 12:57 
GeneralRe: ** Random Number Generator ** Pin
WoR20-Sep-00 21:43
WoR20-Sep-00 21:43 
Generalextended style MFC Pin
kennan19-Sep-00 10:22
kennan19-Sep-00 10:22 
GeneralRe: extended style MFC Pin
Erik Funkenbusch19-Sep-00 13:08
Erik Funkenbusch19-Sep-00 13:08 
GeneralSingle Instance DLL Pin
Larry Dobson19-Sep-00 9:34
Larry Dobson19-Sep-00 9:34 
GeneralRe: Single Instance DLL Pin
Erik Funkenbusch19-Sep-00 13:07
Erik Funkenbusch19-Sep-00 13:07 
You're kind of throwing the baby out with the bathwater.

There is no reason you should have to require that a DLL is only loaded once. There are many ways share data between multiple instances of a module (such as DLL's). Shared data segments (check the linker options for this) and memory mapped files with page backing (essentially maps the same memory into the swap file and allows mutliple processes to read and write to it) for instance.

Further, you can accomplish this without sharing memory. This is precisely what out of process COM objects are designed to handle.

There are lots of solutions besides this (which is basically impossible in 32 bit anyways, since each DLL is mapped into each programs address space. )

GeneralRe: Single Instance DLL Pin
Larry Dobson19-Sep-00 17:03
Larry Dobson19-Sep-00 17:03 
GeneralRe: Single Instance DLL Pin
Erik Funkenbusch20-Sep-00 9:14
Erik Funkenbusch20-Sep-00 9:14 
GeneralPaint problems Pin
Ori19-Sep-00 7:56
Ori19-Sep-00 7:56 
GeneralISAPI Filter Pin
Anderson J Almeida19-Sep-00 7:21
sussAnderson J Almeida19-Sep-00 7:21 
GeneralODBC API, BLOBs Pin
Oz Ben Eliezer19-Sep-00 7:12
Oz Ben Eliezer19-Sep-00 7:12 
QuestionInteresting Question on DLL...use class* as a parameter../?? Pin
Ryan Park18-Sep-00 23:52
Ryan Park18-Sep-00 23:52 
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Jignesh Patel19-Sep-00 4:12
Jignesh Patel19-Sep-00 4:12 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Ryan Park19-Sep-00 16:16
Ryan Park19-Sep-00 16:16 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
WoR20-Sep-00 22:04
WoR20-Sep-00 22:04 
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Sam Hobbs19-Sep-00 7:34
Sam Hobbs19-Sep-00 7:34 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Ryan Park19-Sep-00 16:59
Ryan Park19-Sep-00 16:59 
AnswerRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Paolo Messina19-Sep-00 23:28
professionalPaolo Messina19-Sep-00 23:28 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Wade Brainerd20-Sep-00 1:10
Wade Brainerd20-Sep-00 1:10 
GeneralRe: Interesting Question on DLL...use class* as a parameter../?? Pin
Sam Hobbs21-Sep-00 18:10
Sam Hobbs21-Sep-00 18:10 
GeneralSome Color issues...redirecting the registry? =) Pin
Fredrik18-Sep-00 23:16
Fredrik18-Sep-00 23:16 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
#realJSOP19-Sep-00 1:20
professional#realJSOP19-Sep-00 1:20 
GeneralRe: Some Color issues...redirecting the registry? =) Pin
Fredrik19-Sep-00 2:15
Fredrik19-Sep-00 2:15 

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.