Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Message for window overlapping? Pin
Tim Deveaux14-Jun-01 2:52
Tim Deveaux14-Jun-01 2:52 
GeneralCRicheditView n Dialog (MDI) Pin
Majid Khattak12-Jun-01 14:22
Majid Khattak12-Jun-01 14:22 
GeneralCopy icon to clipboard.. Pin
J Patel12-Jun-01 12:37
J Patel12-Jun-01 12:37 
GeneralSafely remove files... Pin
12-Jun-01 11:26
suss12-Jun-01 11:26 
GeneralRe: Safely remove files... Pin
Jeff Naber12-Jun-01 11:33
Jeff Naber12-Jun-01 11:33 
GeneralBuilding a linked list inside a DLL before DllMain Pin
Steve The Plant12-Jun-01 11:02
Steve The Plant12-Jun-01 11:02 
GeneralRe: Building a linked list inside a DLL before DllMain Pin
Tomasz Sowinski12-Jun-01 11:20
Tomasz Sowinski12-Jun-01 11:20 
GeneralRe: Building a linked list inside a DLL before DllMain Pin
Tim Deveaux12-Jun-01 14:13
Tim Deveaux12-Jun-01 14:13 
I think its a problem of visibility. Now that you have several declarations of g_List, there's some subtlety of the linkage that isn't tying them to one object. Almost as if there's no defining object, though intuitively I would think there is (the one without the extern).

To test, you might look at the address of the g_List at the points when g_List.AddNode is called. If you get different addrs, I'd say its not a DLL specific problem, but rather falls under the category of storage class specifiers.

-----
#include "just_a_theory_disclaimer.h"
GeneralRe: Building a linked list inside a DLL before DllMain Pin
Steve The Plant12-Jun-01 15:24
Steve The Plant12-Jun-01 15:24 
GeneralRe: Building a linked list inside a DLL before DllMain Pin
12-Jun-01 16:32
suss12-Jun-01 16:32 
GeneralRe: Building a linked list inside a DLL before DllMain Pin
Steve The Plant12-Jun-01 17:36
Steve The Plant12-Jun-01 17:36 
GeneralExporting classes in a dll that uses MFC Pin
Wes Jones12-Jun-01 9:59
Wes Jones12-Jun-01 9:59 
GeneralText viewer application Pin
Jeff Naber12-Jun-01 9:55
Jeff Naber12-Jun-01 9:55 
GeneralRe: Text viewer application Pin
Jeff Naber12-Jun-01 11:29
Jeff Naber12-Jun-01 11:29 
Generalopen files. Pin
12-Jun-01 8:58
suss12-Jun-01 8:58 
GeneralRe: open files. Pin
Carlos Antollini12-Jun-01 9:05
Carlos Antollini12-Jun-01 9:05 
GeneralI did not understand you !!!! Pin
12-Jun-01 19:17
suss12-Jun-01 19:17 
GeneralRe: open files. Pin
12-Jun-01 9:06
suss12-Jun-01 9:06 
Generalwell done !!!!! It was realy silly misprint! Pin
12-Jun-01 19:25
suss12-Jun-01 19:25 
General*.dsw and Borland Compiler Pin
12-Jun-01 8:19
suss12-Jun-01 8:19 
GeneralRe: *.dsw and Borland Compiler Pin
Tim Deveaux12-Jun-01 12:18
Tim Deveaux12-Jun-01 12:18 
GeneralSerial Port Communication. Pin
John Uhlenbrock12-Jun-01 7:44
John Uhlenbrock12-Jun-01 7:44 
GeneralRe: Serial Port Communication. Pin
John Uhlenbrock12-Jun-01 8:55
John Uhlenbrock12-Jun-01 8:55 
GeneralRe: Serial Port Communication. Pin
Eric Hansen12-Jun-01 9:52
Eric Hansen12-Jun-01 9:52 
GeneralRe: Serial Port Communication. Pin
12-Jun-01 22:38
suss12-Jun-01 22:38 

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.