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

C / C++ / MFC

 
QuestionURGENT : strange error C4430 VS2005 with ostream Pin
AhmedOsamaMoh7-Nov-07 8:08
AhmedOsamaMoh7-Nov-07 8:08 
AnswerRe: URGENT : strange error C4430 VS2005 with ostream Pin
Mark Salsbery7-Nov-07 8:18
Mark Salsbery7-Nov-07 8:18 
JokeRe: URGENT : strange error C4430 VS2005 with ostream Pin
AhmedOsamaMoh7-Nov-07 8:22
AhmedOsamaMoh7-Nov-07 8:22 
GeneralRe: URGENT : strange error C4430 VS2005 with ostream Pin
led mike7-Nov-07 8:44
led mike7-Nov-07 8:44 
Questionconnecting to a parallel port problem. Please Help Pin
Wamuti7-Nov-07 7:29
Wamuti7-Nov-07 7:29 
AnswerRe: connecting to a parallel port problem. Please Help Pin
led mike7-Nov-07 7:48
led mike7-Nov-07 7:48 
AnswerRe: connecting to a parallel port problem. Please Help Pin
Gordon Brandly7-Nov-07 10:10
Gordon Brandly7-Nov-07 10:10 
QuestionDll hell Pin
Rage7-Nov-07 5:22
professionalRage7-Nov-07 5:22 
So I have following problem (all of these are Win32 app, all MFCs, Visual 2005 applications, C++)

Application A (third-party) uses two of our dlls (which are plug-ins for A), let's say AppAplug1.dll and AppAplug2.dll. These dlls use another of our dll, Common.dll.
Version 1.0 of Common.dll is installed in AppAplug1.dll's directory, and is loaded using /DELAYLOAD by AppAplug1.dll
Version 2.1 of Common.dll is installed in AppAplug2.dll's directory, and is loaded using /DELAYLOAD by AppAplug2.dll

When I debug into AppAplug1.dll code, some function calls jumps into Common.dll Version 1 and sometimes into Common.dll Version 2.1, which brings upp following problems: some static variables are then initialised by a function call in Version 2.1, and used in Version 1, in which they are then not initilaised -> bad !

I thought processes would have their own memory space, how come I can "exchange" data like this ? How can I avoid that ?

Thanks,



~RaGE();

I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus

Do not feed the troll ! - Common proverb


AnswerRe: Dll hell Pin
toxcct7-Nov-07 5:27
toxcct7-Nov-07 5:27 
GeneralRe: Dll hell Pin
Rage7-Nov-07 5:34
professionalRage7-Nov-07 5:34 
GeneralRe: Dll hell Pin
toxcct7-Nov-07 5:37
toxcct7-Nov-07 5:37 
JokeOff Topic Pin
toxcct7-Nov-07 5:39
toxcct7-Nov-07 5:39 
JokeRe: Off Topic Pin
Matthew Faithfull7-Nov-07 5:58
Matthew Faithfull7-Nov-07 5:58 
AnswerRe: Dll hell Pin
Mark Salsbery7-Nov-07 7:00
Mark Salsbery7-Nov-07 7:00 
AnswerRe: Dll hell Pin
JudyL_MD7-Nov-07 10:35
JudyL_MD7-Nov-07 10:35 
GeneralRe: Dll hell Pin
Rage7-Nov-07 21:47
professionalRage7-Nov-07 21:47 
GeneralRe: Dll hell Pin
toxcct7-Nov-07 23:08
toxcct7-Nov-07 23:08 
GeneralRe: Dll hell Pin
Nelek7-Nov-07 23:49
protectorNelek7-Nov-07 23:49 
GeneralRe: Dll hell Pin
toxcct8-Nov-07 1:45
toxcct8-Nov-07 1:45 
QuestionCAPICOM Pin
Jim Crafton7-Nov-07 4:49
Jim Crafton7-Nov-07 4:49 
AnswerRe: CAPICOM Pin
led mike7-Nov-07 5:07
led mike7-Nov-07 5:07 
GeneralRe: CAPICOM Pin
Jim Crafton7-Nov-07 5:36
Jim Crafton7-Nov-07 5:36 
QuestionNew appended menu items are disabled [modified] Pin
followait7-Nov-07 3:49
followait7-Nov-07 3:49 
AnswerRe: New appended menu items are disabled Pin
led mike7-Nov-07 4:19
led mike7-Nov-07 4:19 
GeneralRe: New appended menu items are disabled Pin
David Crow7-Nov-07 4:26
David Crow7-Nov-07 4:26 

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.